Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
620 changes: 620 additions & 0 deletions .agents/hooks/security-guard/security-guard.sh

Large diffs are not rendered by default.

627 changes: 627 additions & 0 deletions .agents/hooks/security-guard/test-security-guard.sh

Large diffs are not rendered by default.

526 changes: 526 additions & 0 deletions .agents/skills/branch-commit-pr-ticket/SKILL.md

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions .claude/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"hooks": {
"PreToolUse": [
{
"matcher": "Bash|Shell|Edit|Write|Read|mcp__.*",
"hooks": [
{
"type": "command",
"command": "\"$CLAUDE_PROJECT_DIR\"/.agents/hooks/security-guard/security-guard.sh",
"timeout": 5
}
]
}
]
}
}
1 change: 1 addition & 0 deletions .claude/skills/branch-commit-pr-ticket
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ branding:
icon: "chevron-right"
color: "gray-dark"
runs:
using: "node20"
using: "node24"
main: "index.js"
44 changes: 44 additions & 0 deletions ai-lock.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"version": 1,
"skills": {
"branch-commit-pr-ticket": {
"source": "mobsuccess-devops/skills-hub",
"sourceUrl": "https://github.com/mobsuccess-devops/skills-hub.git",
"skillPath": "skills/branch-commit-pr-ticket",
"skillFolderHash": "a2940631713f1692a1dd722e2586ca824716b1c2",
"agents": ["claude-code"],
"trusted": true,
"installedAt": "2026-09-01T08:16:40.071Z",
"updatedAt": "2026-09-01T08:16:40.071Z"
}
},
"mcpServers": {},
"hooks": {
"security-guard": {
"source": "mobsuccess-devops/skills-hub",
"sourceUrl": "https://github.com/mobsuccess-devops/skills-hub.git",
"folderPath": "hooks/security-guard",
"folderHash": "88855ec1878d5287fa97b2bb600300bd6fc53bb4",
"agents": ["claude-code"],
"trusted": true,
"handlers": {
"claude-code": {
"PreToolUse": [
{
"matcher": "Bash|Shell|Edit|Write|Read|mcp__.*",
"hooks": [
{
"type": "command",
"command": "\"$CLAUDE_PROJECT_DIR\"/.agents/hooks/security-guard/security-guard.sh",
"timeout": 5
}
]
}
]
}
},
"installedAt": "2026-09-01T08:16:40.087Z",
"updatedAt": "2026-09-01T08:16:40.087Z"
}
}
}
4 changes: 2 additions & 2 deletions lib/checks/lockVersion.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ const expectedLockfileVersion = 3;
function checkLockVersion(lockFile) {
if (!lockFile) {
return new Error(
"No package-lock.json file, ignoring lockfileVersion check"
"No package-lock.json file, ignoring lockfileVersion check",
);
}
if (lockFile.lockfileVersion !== expectedLockfileVersion) {
return new FatalError(
`Unexpected lockfileVersion, found “${lockFile.lockfileVersion}”, expected “${expectedLockfileVersion}”`
`Unexpected lockfileVersion, found “${lockFile.lockfileVersion}”, expected “${expectedLockfileVersion}”`,
);
}
}
Expand Down
2 changes: 1 addition & 1 deletion lib/checks/preReleases.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function checkForPreRelease(pkgJson = {}) {
/-?pr-backend-(\d+)(\.(\d+))*$/.test(version)) // matches -pr-backend-1 or -pr-backend-1.0 or -pr-backend-1.0.0
) {
return new FatalError(
`Unexpected pre-release dependency found: ${name}@${version}\n`
`Unexpected pre-release dependency found: ${name}@${version}\n`,
);
}
}
Expand Down
2 changes: 1 addition & 1 deletion lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function getAllPackages() {
const result = spawnSync(
"find",
[".", "-name", "package.json", "-not", "-path", "./node_modules/*"],
{ stdio: ["ignore", "pipe", "ignore"] }
{ stdio: ["ignore", "pipe", "ignore"] },
);
if (result.status !== 0) {
throw new Error(`find command failed with status ${result.status}`);
Expand Down
13 changes: 7 additions & 6 deletions package-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@types/jest": "^29.2.4",
"eslint": "^8.39.0",
"jest": "^29.3.1",
"prettier": "^2.8.8"
"prettier": "^3.9.6"
}
},
"node_modules/@aashutoshrathi/word-wrap": {
Expand Down Expand Up @@ -3737,15 +3737,16 @@
}
},
"node_modules/prettier": {
"version": "2.8.8",
"resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz",
"integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==",
"version": "3.9.6",
"resolved": "https://registry.npmjs.org/prettier/-/prettier-3.9.6.tgz",
"integrity": "sha512-OpN0zzVdiaiAhxpuuj5efpIS4sY9j7bY6uR5mnj5yPzGkdkjNKSJeUThPb60Jw29QuAZgA4o+/iB49kFiaBX6g==",
"dev": true,
"license": "MIT",
"bin": {
"prettier": "bin-prettier.js"
"prettier": "bin/prettier.cjs"
},
"engines": {
"node": ">=10.13.0"
"node": ">=14"
},
"funding": {
"url": "https://github.com/prettier/prettier?sponsor=1"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@types/jest": "^29.2.4",
"eslint": "^8.39.0",
"jest": "^29.3.1",
"prettier": "^2.8.8"
"prettier": "^3.9.6"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com"
Expand Down
Loading