/gabbe:security-baselinefrom GABBE
Establishes a phase-by-phase security baseline for projects, tiered by risk level (personal data, money, AI agents). Records controls and evidence in SECURITY_BASELINE.md. Use when starting a project or defining security requirements.
Ships in GABBE. 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.
Read when SKILL.md points to them.
Give the project one security path through S01 to S13: a minimum for every project, and more for riskier ones. The baseline adds evidence to the quality gates G1-G9. It never replaces a gate. Guide: guides/principles/security-baseline.md. Owner: personas/ops-security.md.
| Tier | Matches when |
|---|---|
| 1 | Internal tool or script; no personal data; no money; not reachable from the internet; no AI agent with tools |
| 2 | Reachable from the internet, or holds personal data, or has user accounts; no tier 3 row matches |
| 3 | Money or payment cards; health data; harm to people or assets if it fails; it provides login for other systems; an AI agent that has tools (it can write, send, run code or call services); regulated data |
project/SECURITY_BASELINE.md from templates/security/SECURITY_BASELINE_TEMPLATE.md, with the tier and the human's confirmation line. Add one AUDIT_LOG.md row. The human may raise or lower the tier; the agent never lowers it alone.project/SECURITY_BASELINE.md. Done when no row of the phase is empty.| Phase | All tiers | Tier 2 adds | Tier 3 adds | Skill |
|---|---|---|---|---|
| S01 | List security and privacy requirements as EARS lines; classify the data | Abuse cases for each login, upload and payment-like step | Regulation check; hazard list if harm is possible | security-requirements, compliance-review, hazard-analysis, ai-ethics-compliance |
| S02 | Trust boundaries drawn; dependency choices listed with licence | Threat model (STRIDE); data flow map | Assurance level per component; network zones; crypto choices in an ADR | threat-model, secure-architecture, privacy-audit, assurance-ladder, legal-review |
| S03 | Auth, authorisation and input rules written in the spec | API contract with an auth rule per endpoint | Permission matrix; rate limits | api-security, access-control, spec-writer |
| S05 | Secrets outside code; dependencies pinned; no secret in a commit | Input validation and output encoding at every boundary | Review of every security-critical change by the human | secure-coding, secrets-management, dependency-security, safety-scan |
| S06 | Gate G5 (no CRITICAL or HIGH); secret scan; static analysis run | Static analysis findings triaged; SBOM produced | Fuzzing of parsers; red-team run for AI software; provenance for artifacts | dependency-security, safety-scan, security-audit, ai-red-teaming |
| S07 | Security review and checklist; human sign-off | Privacy review; logging review | Compliance gap report; level 3 trusted-base review | security-audit, privacy-audit, compliance-review, log-analysis |
| S09, S10 | Debug off; defaults changed; deploy credentials limited to what the deploy needs; rollback tested | Headers and TLS checked; restore test | Network rules checked; separate deploy and runtime identities | deployment, network-security, backup-recovery, cryptography-standards |
| S11 | Patch within the period in the baseline; a named person gets advisories | Vulnerability intake path published; incident plan with contacts | Scheduled rescan; incident drill; key rotation | dependency-lifecycle, secrets-management, incident-response |
| S13 | Data and keys disposed of as planned | Deletion of personal data confirmed | Disposal record for the regulator or customer | decommission-sunset, privacy-data-protection |
prompt-injection-defense); tool permissions (agent-tool-review); output handling and rails (ai-safety-guardrails, output-validation); isolation (agent-sandboxing); model, data and package supply chain (dependency-security, integrity-check). Tier 3 adds ai-red-teaming.docs/security/ (see the evidence column of the template). At S07 the reviewer opens project/SECURITY_BASELINE.md and follows each path. A row without a file is a FAIL.project/ASSURANCE_PLAN.md (assurance-ladder); tier 3 means level 2 or higher is proposed for authorisation and money logic. Quality gates stay as defined by orch-judge. G5 is the dependency gate; the baseline adds its evidence.project/SECURITY_BASELINE.md, updated at each phase end, and the evidence files it points to.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub andreibesleaga/gabbe --plugin gabbe49 skills in this plugin
/adr-writerGenerate Architecture Decision Records for significant technical decisions. Use when: architecture decision, ADR, why did we choose, why are we using, architectural choice./api-designAPI contract (OpenAPI, GraphQL SDL or proto) written before code, with resources, errors, pagination and authentication. Use when a new endpoint or API is needed or the contract of an existing one must change./arch-designArchitecture design from approved requirements — quality scenarios, style choice, decomposition, 4+1 or arc42 views, ADRs and risks. Use when a new system or major subsystem needs an architecture before implementation planning.Other plugins' skills for the same job