/engineering:skill-composition-standardsfrom engineering
Enforces repository-wide house style for authoring, normalising, or reviewing skills: frontmatter, decision rules, anti-patterns, input/output contracts, and composition gates.
Ships in engineering. 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.
Acknowledgement: Shared by Peter Bamuhigire, techguypeter.com, +256 784 464178.
Skill-specific anti-patterns:
references/ directory.references/ directory for deep detail after reading the core workflow below.The rules that make every skill in this repository compose cleanly with every other skill. Two concerns in one skill, because they are two faces of the same question: "what does this skill promise, and what is it allowed to expect?"
Skill-specific references:
references/house-style-checklist.md — 20-point review checklistreferences/normalisation-playbook.md — how to upgrade a legacy skillreferences/baseline-contract-register.md — full artifact-contract register per baseline skill typereferences/context-map-template.mdreferences/adr-template.mdreferences/critical-flow-template.mdreferences/openapi-contract.mdreferences/error-model.mdreferences/threat-model-template.mdreferences/slo-template.mdreferences/release-plan-template.mdreferences/rollback-plan-template.mdreferences/runbook-template.mdreferences/test-plan-template.mdskill-writing.Every skill, old or new, must meet this shape. This is what "normalised" means.
Every skill must declare the artifacts it consumes (inputs) and the artifacts it produces (outputs). Downstream skills can then depend on those artifacts being present and well-formed.
The local boolean/list metadata contract is an engine extension, not proof of
public interchange conformance or tested host support. Follow skill-writing
for export boundaries and preserve additional declared runtime names.
---
name: <skill-slug>
description: Use when <trigger scenarios> — <what this skill covers>, <what it does not cover>. <One-line differentiator against neighbouring skills>.
---
Rules for description:
A normalised SKILL.md must have these sections; each may be short, but none may be missing:
# Skill Name (human-readable)references/*.md deep-dive filesRules:
Repository gate: keep the parsed description at or below 350 characters; the aggregate runtime budget is checked separately.
Discovery metadata contains triggers and boundaries, not procedures, examples, or full policy text.
SKILL.md ≤ 500 lines. Overflow goes into references/.
Every code snippet has a language tag on the fence.
No emojis unless the user explicitly requests them.
British English.
Imperative voice for rules. Declarative for explanations.
references/<topic>.md.description.See references/house-style-checklist.md for the full 20-point checklist and references/normalisation-playbook.md for how to bring a legacy skill up to this bar.
Every skill declares what it produces (outputs) and what it consumes (inputs). Downstream skills can then depend on those artifacts being present and well-formed. The baseline skills produce the artifact set that specialist skills consume, and specialist skills produce narrower deliverables that platform skills consume.
Beyond Inputs and Outputs, specialist skills also declare which of seven fixed validation categories their artifacts contribute to. That third contract lives in validation-contract; it turns scattered validation skills into a coherent ship-readiness check and produces the canonical Release Evidence Bundle at release time.
Every SKILL.md has an Inputs and an Outputs section with a table:
## Inputs
| Artifact | Produced by | Required? | Why |
|---|---|---|---|
| Context map | `system-architecture-design` | required | service/module boundaries |
| Access pattern list | `database-design-engineering` | required | shapes the API contract |
| Threat model | `vibe-security-skill` | optional | informs auth rules |
## Outputs
| Artifact | Consumed by | Template |
|---|---|---|
| OpenAPI 3 spec | frontend, mobile, SDK skills | `skill-composition-standards/references/openapi-contract.md` |
| Error model | frontend, mobile | `skill-composition-standards/references/error-model.md` |
| Idempotency map | `reliability-engineering` | inline |
If a skill does not depend on any upstream artifact, its Inputs section says so:
## Inputs
None. This skill is a foundational baseline.
Every skill that expects runner capabilities must also declare the minimum capability contract in its workflow or non-negotiables. Express it by capability (read, search, edit, execute, network, delegate) and define safe fallback behaviour when an optional capability is absent. Keep vendor tool names and model settings in adapters. Analysis and review default to read-only; mutation requires the task to authorise it.
Role definitions are not interchangeable with skills. A role describes the specialised worker, permission boundary, and handoff; a skill describes a reusable procedure. Keep them separate when either can be reused independently.
The repository defines these standard artifacts. Each has a template in references/.
| Artifact | Template file | Produced by (typical) |
|---|---|---|
| Context map | references/context-map-template.md | system-architecture-design |
| ADR set | references/adr-template.md | any skill making a structural decision |
| Critical-flow table | references/critical-flow-template.md | system-architecture-design |
| Entity model | references/entity-model-template.md | database-design-engineering |
| Access-pattern list | references/access-patterns-template.md | database-design-engineering |
| Migration plan | references/migration-plan-template.md | database-design-engineering, deployment-release-engineering |
| OpenAPI contract | references/openapi-contract.md | api-design-first |
| Error model | references/error-model.md | api-design-first |
| Threat model | references/threat-model-template.md | vibe-security-skill |
| SLOs + alert plan | references/slo-template.md | observability-monitoring |
| Release plan | references/release-plan-template.md | deployment-release-engineering |
| Rollback plan | references/rollback-plan-template.md | deployment-release-engineering |
| Runbook | references/runbook-template.md | reliability-engineering, observability-monitoring |
| Test plan + evidence | references/test-plan-template.md | advanced-testing-strategy |
| Delivery Definition of Done | references/delivery-definition-of-done.md | world-class-engineering (closing gate for any meaningful change) |
A skill that produces one of these artifacts must produce it in the format the template specifies. Downstream skills consume the template-format version.
The Delivery Definition of Done is the terminal artifact: it bundles the release-time outputs (tests, release plan, rollback plan, runbook, SLOs, maintenance notes) into one checkable handoff so the work can be operated and maintained by a team that did not write it. Meaningful changes are not "done" until that pack is whole.
When reviewing a skill PR, verify:
skill-composition-standards/references/?If any answer is no, the PR fails the contract gate.
Each baseline skill type has a mandatory output set. These are the contracts specialist skills depend on.
world-class-engineeringOutputs: release gate checklist, production-readiness rubric.
system-architecture-designOutputs: context map + critical-flow table + ADR set + dependency diagram notes + failure mode list.
database-design-engineeringOutputs: entity model + access-pattern list + index plan + migration plan + retention + tenancy notes.
api-design-firstOutputs: OpenAPI contract + auth model + error model + idempotency keys + observability notes.
observability-monitoringOutputs: SLOs + alert rules + dashboards + runbook-per-service.
reliability-engineeringOutputs: retry/timeout matrix + degradation plan + incident playbook + postmortem template.
deployment-release-engineeringOutputs: release plan + rollback plan + migration choreography + post-deploy verification steps.
advanced-testing-strategyOutputs: test plan + test evidence bundle + risk-based coverage map.
vibe-security-skillOutputs: threat model + abuse case list + auth/authz matrix + secret handling plan.
See references/baseline-contract-register.md for the full list and full schemas.
When normalising an older skill:
references/house-style-checklist.md). Note gaps.references/<topic>.md.python -X utf8 skill-writing/scripts/quick_validate.py <skill>.See references/normalisation-playbook.md for the full procedure with examples.
This skill is advisory in mechanism, mandatory in convention. There is no CI bot (yet) that blocks a skill from merging if it fails the contract gate. Enforcement is by:
world-class-engineering (repo-wide baseline).skill-writing (skill-authoring guide).quick_validate.py in CI.Future work: a CI hook that parses Inputs / Outputs tables and warns when a claimed upstream artifact is not declared by any upstream skill.
The runtime metadata validator is now the required cross-engine gate. Run the coordination engine's validator against the exact roots exposed by the host, including deliberately enabled plugin skill roots. Keep the runtime set below the entry-count and aggregate metadata limits; a per-repository pass does not prove that the assembled catalog fits.
skill-writing — authoring process, validator, frontmatter rules.world-class-engineering — repository-wide quality bar that references this skill.advanced-testing-strategy, observability-monitoring, reliability-engineering, deployment-release-engineering — the operability baseline skills whose contracts anchor the repository.Read and search are required. Editing is allowed only for an authorised normalisation task. Execution is limited to repository validators; network access and delegation are optional.
Without editing or execution, return a scored gap list and exact proposed changes. Never claim compliance without validator evidence.
| Condition | Action | Wrong-choice failure |
|---|---|---|
| Existing scope is sound | Normalise in place | Unnecessary split fragments routing |
| Two independent triggers or outputs exist | Split after collision analysis | One oversized skill loads irrelevant context |
| Neighbour owns the same trigger and contract | Merge or alias | Duplicate routes compete indefinitely |
references/access-patterns-template.md (opens in a new tab)references/adr-template.md (opens in a new tab)references/baseline-contract-register.md (opens in a new tab)references/context-map-template.md (opens in a new tab)references/critical-flow-template.md (opens in a new tab)references/delivery-definition-of-done.md (opens in a new tab)references/entity-model-template.md (opens in a new tab)references/error-model.md (opens in a new tab)references/house-style-checklist.md (opens in a new tab)references/migration-plan-template.md (opens in a new tab)references/normalisation-playbook.md (opens in a new tab)references/openapi-contract.md (opens in a new tab)references/orchestration-best-practices.md (opens in a new tab)references/orchestration-best-practices/references/skill-deep-dive.md (opens in a new tab)references/release-plan-template.md (opens in a new tab)references/rollback-plan-template.md (opens in a new tab)references/runbook-template.md (opens in a new tab)references/slo-template.md (opens in a new tab)references/test-plan-template.md (opens in a new tab)references/threat-model-template.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub peterbamuhigire/chwezi-dev-engine --plugin engineering169 skills in this plugin
/accounting-engineUse when designing or implementing double-entry accounting policy and an embedded ledger engine for invoices, payments, stock, balanced postings, mapped accounts, idempotency, reversals, period locks, audit trails, and financial statements./accounting-finance-controllerUse when coordinating accounting and finance implementation reviews, doctrine routing, control evidence, remediation priorities, and release decisions across a software system./advanced-testing-strategyUse when designing or reviewing test strategy for production systems, APIs, mobile apps, SaaS platforms, ERP workflows, and AI-enabled systems. Covers unit, integration, contract, end-to-end, regression, release-gate, and risk-based testing decisions.Other plugins' skills for the same job