/senior-standards:decision-gatefrom Senior Standards
Use when about to add, choose or propose a dependency, library, framework, external service, database, hosting provider or paid API, in any language or ecosystem, including in existing repositories, and before any install command runs.
Ships in Senior Standards. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Nothing is installed, signed up for or wired in until the user has answered and an ADR exists. Custom code for infrastructure concerns (auth, payments, email, queues, validation, ORM, dates, i18n) is one option among others, never the silent default.
The gate applies to: runtime, dev, test and build dependencies; globally installed tools; CI actions and third-party workflow steps; major-version upgrades of an existing dependency; and services (SaaS, databases, hosting, auth providers, paid APIs, AI/LLM APIs, telemetry). A dependency an installer pulls in counts only if it becomes a direct dependency; transitive ones do not.
If the user or an approved spec already names the choice, still run the gate in short form: verify it against official sources (including package health), confirm the exact package list with the user, then write the ADR. Naming a product is not approval of packages it was not listed with.
requirements.md or the approved spec) and the category: library, framework, service, database, hosting, paid API.llms.txt when present.rejected ADR.proposed ADR with the comparison and recommendation, and do not install or wire anything.adr (senior-standards:adr). Set status: accepted and fill packages:; record rejected options under "Considered options". A proposed ADR never authorises an install; only accepted ADRs count, and the install guard enforces the same.official-integration (senior-standards:official-integration) to install and configure from the vendor's documented method.| Criterion | Option A | Option B | ... |
|---|---|---|---|
| Fit for the requirements | |||
| Maturity and maintenance | |||
| Package health: last publish, maintainers, provenance / trusted publishing, weekly downloads, open advisories | |||
| License | |||
| Cost now and at scale | |||
| Lock-in and exit cost | |||
| Security and compliance posture | |||
| DX and type safety | |||
| Official AI tooling (MCP server, skills, llms.txt) |
Use the registry and advisory data, not search-engine summaries. Check every candidate package, not just the headline one.
| Ecosystem | Last publish, maintainers, provenance | Downloads | Advisories |
|---|---|---|---|
| npm | npm view <pkg> time.modified maintainers dist.attestations; registry page shows provenance | npm downloads API (api.npmjs.org/downloads/point/last-week/<pkg>) | npm audit, GitHub Advisory Database, OSV |
| PyPI | https://pypi.org/pypi/<pkg>/json (upload times, maintainers; trusted publishing shown on the project page) | pypistats.org | OSV, GitHub Advisory Database, PyPA advisory DB |
| crates.io | crates.io page or https://crates.io/api/v1/crates/<crate> (versions, owners) | crates.io API recent downloads | RustSec advisory DB (cargo audit), OSV |
| NuGet | nuget.org package page or https://api.nuget.org/v3/index.json (listing, owners, signed/repository-signed) | nuget.org total and per-version downloads | GitHub Advisory Database, dotnet list package --vulnerable |
| Go modules | pkg.go.dev (published date, license, imports count) and the module's repository | pkg.go.dev "imported by" | Go vulnerability DB (govulncheck), OSV |
| Other | The ecosystem's official registry | Registry statistics | OSV (osv.dev) |
Flag: no release in a long time with open issues, a single maintainer on a critical path, no provenance where the ecosystem supports it, recent maintainer or ownership changes, unpatched advisories, or abnormally low adoption.
packages: lists the SDK or driver packages the project will install ([@aws-sdk/client-s3], [Npgsql], [stripe]); use [] when nothing is installed (a hosting choice, a managed service called over HTTP).What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub titanfrigel/senior-standards --plugin senior-standards7 skills in this plugin
/adrUse when recording an architecture or dependency decision, creating or superseding an ADR in docs/adr, changing an ADR's status, or regenerating the ADR index, in any language or repository./auditUse when asked to review, audit or health-check an existing repository against the senior standards, or to find what is missing in its tooling, security, CI, documentation or architecture checks, for any language; produces a prioritised gap report without changing anything./official-integrationUse when a dependency, library, framework or service decision has been accepted and it is time to install, configure or wire it in, in any language or ecosystem, including adding the vendor's official MCP server and Agent Skills for the harnesses the project uses.Other plugins' skills for the same job