Configures Claude Code hooks and Codex hooks.json/notify. Use when adding PreToolUse guards, Stop hooks, managed hooks, format-on-save, preflight, audits, or worktree/budget hooks.
日本語の概要は準備中です。原文の説明を表示しています。
Guides dependency audits and upgrades. Use when auditing dependencies, upgrading vulnerable packages, managing lockfiles or package managers, SBOMs, or update and monorepo policy.
インストールする前に、エージェントに与えられる指示の中身を確認できます。
| Task | Use |
|---|---|
| Ecosystem defaults and package-manager choice | references/ecosystem-guides.md |
| Lockfiles and CI install policy | references/lockfile-management.md |
| Security scanning, SBOMs, and provenance | references/security-scanning.md, assets/automation/template-supply-chain-security.md, assets/automation/template-sbom-vuln-triage-checklist.md |
| Monorepos and workspace policy | references/monorepo-patterns.md, assets/nodejs/pnpm-workspace-template.yaml |
| Update strategy and rollback | references/update-strategies.md, assets/automation/template-dependency-upgrade-playbook.md |
| Add-or-avoid dependency decision | references/dependency-selection-guide.md, references/transitive-dependencies.md |
| Vulnerability detection | The ecosystem's native audit tool (npm audit, pnpm audit, pip-audit, cargo audit, govulncheck, composer audit) or osv-scanner; see references/security-scanning.md |
| Vulnerability triage, VEX, EU CRA lookup | references/security-scanning.md |
| Policy-manifest scorer (not a vulnerability scanner: no advisory database, refuses real manifests, exits 2 on unchecked input) | python3 scripts/dep_auditor.py --help, limits in scripts/README.md |
Treat the manifest and lockfile as one change unit. Before the upgrade, capture the resolved version, integrity/source metadata, transitive dependency delta, install-script delta, and the exact build/test/runtime probes that protect the affected path. Review newly introduced packages and lifecycle scripts even when the requested direct dependency looks harmless.
A rollback instruction must restore both manifest and lockfile to a known pair and state whether caches, generated clients, database state, or persisted wire formats make code rollback insufficient. For a stateful or protocol-changing upgrade, require a forward-compatible migration or a tested downgrade path before rollout. “Revert the dependency bump” is not a complete rollback plan when the new version has already written data or changed an external contract.
| Ecosystem | Default for new repos | Version lookup | Key constraint |
|---|---|---|---|
| Node | pnpm unless compat pressure favors npm | npm view pnpm dist-tags (a new major may ship on a non-default tag) | pnpm 11 removed onlyBuiltDependencies in favour of allowBuilds; check the target major's release notes for its runtime and install path, and build settings for script approvals before setting CI policy |
| Python | uv | uv release notes | Check whether uv is still on 0.x versioning before promising API stability |
| Rust | Cargo | pinned rust-toolchain.toml | commit Cargo.lock for apps |
| Go | go modules | go / toolchain lines in go.mod | go.mod + go.sum canonical |
| Java | Maven wrapper or Gradle wrapper | wrapper properties | wrappers plus BOMs or version catalogs |
| .NET | PackageReference | global.json SDK pin | PackageReference over packages.config |
| PHP | Composer | composer.json config.platform | commit composer.lock for apps |
Keep repo-local consistency more important than theoretical ecosystem purity.
Minimum rules:
Rule: rules/deps/lockfiles.md loads this invariant when Claude edits a matching file.
Default cadence:
not_affected findings as VEX statements with a justification; see Vulnerability TriageUse:
deny.toml is one way to express thisminimumReleaseAge, Renovate minimumReleaseAge, Dependabot cooldown) to avoid consuming just-published packages; it is one layer, not a fix, because several historical npm compromises were live for only hours before removal (see the incident patterns in references/security-scanning.md)Before accepting an AI-suggested package:
Rule: rules/common/dependencies.md loads this invariant in every coding session.
Default to one of these:
Upgrading transitive or security-sensitive packages without checking whether the fix actually lands in the production artifact path.
Mixing wrapper, lockfile, and package-manager upgrades in one move, which makes rollback and blame assignment much harder.
Assuming monorepo hoisting or workspace dedupe is harmless when postinstall scripts, peer deps, or native builds are involved.
Accepting temporary pins or overrides without a removal owner, expiry, and retest trigger.
Treating SBOM generation as complete supply-chain control while provenance, install scripts, and release process remain unreviewed.
Treating a clean dep_auditor.py run as an audit: it reads self-declared flags only. Its input requires an explicit dependency list (use [] for a dependency-free ecosystem), boolean policy flags, non-negative integer ages when provided, and a scan date that is not in the future; malformed declarations exit 2.
| File | What it covers |
|---|---|
| references/ecosystem-guides.md | Per-ecosystem package-manager defaults, CI install commands, and watchouts for Node, Python, Rust, Go, Java, .NET, PHP |
| references/lockfile-management.md | Lockfile matrix, golden rules, per-ecosystem exact-install commands, CI rules, and drift recovery |
| references/security-scanning.md | Native audit commands, SBOM generation, provenance controls, Dependabot/Renovate usage, and triage workflow |
| references/monorepo-patterns.md | JS/TS workspace defaults, pnpm supply-chain settings, polyglot structure, and version governance |
| references/dependency-selection-guide.md | Add-or-avoid decision criteria, graph inspection commands, AI-suggested package checklist |
| references/update-strategies.md | Update cadence table, batch-by-risk workflow, bot policy, and rollback rule |
| references/transitive-dependencies.md | Tree inspection, override patterns, deduplication, and resolution decision tree |
| references/license-compliance.md | License risk table, GPL decision tree, automated tooling, CI integration, and SBOM generation commands |
| references/version-conflict-resolution.md | Conflict types, per-manager diagnostic commands, forced resolution syntax, and pnpm catalogs |
| references/container-dependency-patterns.md | Multi-stage build patterns, layer caching, vulnerability scanning (Trivy/Grype), and reproducible base image pinning |
| references/semver-guide.md | SemVer constraint syntax for npm, Python, and Cargo with common pitfalls |
| references/anti-patterns.md | Critical and moderate anti-patterns with corrective examples |
Curated source links live in data/sources.json.
scripts/dep_auditor.py, scripts/README.md, data/sample-dependency-manifest.example.jsonWhen prior decisions or pitfalls are relevant, consult learnings.consolidated.md if present; use learnings.md only for needed history or as the available fallback. Otherwise skip both.
After applying it, if you encountered a pattern worth remembering, a mistake worth preventing, or a domain fact that surprised you, append one dated bullet to learnings.md via agents-skills-feedback-loop/scripts/append_learning.py. Do not modify SKILL.md itself.
まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Configures Claude Code hooks and Codex hooks.json/notify. Use when adding PreToolUse guards, Stop hooks, managed hooks, format-on-save, preflight, audits, or worktree/budget hooks.
日本語の概要は準備中です。原文の説明を表示しています。
Configures and hardens Claude Code and Codex MCP servers. Use when connecting databases, APIs, SaaS, building servers, or serving a clearance-filtered knowledge base.
日本語の概要は準備中です。原文の説明を表示しています。
Owns instruction files: AGENTS.md, CLAUDE.md, personal and repo rules. Use when writing, pruning, auditing them, sharing rules across Claude and Codex, or fixing ignored rules.
日本語の概要は準備中です。原文の説明を表示しています。
Creates and audits agent skills: SKILL.md, references, scripts, runtime metadata. Use when writing, validating, or security-reviewing a skill, or fixing truncated skill listings.
日本語の概要は準備中です。原文の説明を表示しています。
Adds per-skill learnings loops for dated patterns, mistakes, and domain facts. Use when wiring skill memory, consolidation, or drift audits.
日本語の概要は準備中です。原文の説明を表示しています。
Chooses subagent, team, workflow, or debate and launches it on Claude Code or Codex. Use when delegating, running agent review boards, or installing shared agents.
日本語の概要は準備中です。原文の説明を表示しています。