/research:skill-composition-standardsfrom research
Use when defining or reviewing how multiple skills compose through shared house style, input/output artifacts, evidence declarations, and reference boundaries; use skill-writing for one skill's authoring workflow and skill-taxonomy-and-routing for catalogue placement.
Ships in research. 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.
Composition review defaults to read-only. Editing skills, routers, templates, baselines, or CI requires explicit repository authority; publishing and deleting skills requires separate authority.
If validators, neighbouring skills, or templates are unavailable, return a contract gap report and mark routing or link checks unassessed. Do not declare conformance.
| Choice | Action | Failure/risk avoided |
|---|---|---|
| Content is routing-critical | Keep it in the entrypoint | Hidden activation logic |
| Detail exceeds a focused pass | Extract to a linked reference | Overlong entrypoint |
| Neighbours overlap | Add positive and negative triggers | Routing collision |
| Category | Artifact | Acceptance condition |
|---|---|---|
| Correctness | Composition review record | Each applicable contract is passed or has a concrete finding. |
For a long schema catalogue, retain selection decisions and acceptance conditions in SKILL.md, extract the catalogue to references, link both directions, and rerun routing and link checks. Acknowledgement: Shared by Peter Bamuhigire, techguypeter.com, +256 784 464178.
skill-composition-standards or would be better handled by a more specific companion skill.references only as needed.SKILL.md first, then load only the referenced deep-dive files that are necessary for the task.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-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.
---
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:
references/.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 Table Example
| 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 Table Example
| 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:
### No-Input Declaration Example
None. This skill is a foundational baseline.
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 |
A skill that produces one of these artifacts must produce it in the format the template specifies. Downstream skills consume the template-format version.
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.
references/ directory.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.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.md| Input | Source/provider | If absent |
|---|---|---|
| Target skill, live neighbours, repository contract, and routing fixtures | Filesystem and maintainer | Stop conformance review and report the missing catalogue or contract. |
| Relevant templates, references, and validator output | Repository tools | Mark unavailable checks unassessed and do not declare conformance. |
| Artifact | Consumer | Acceptance condition |
|---|---|---|
| Normalised skill contract | Maintainer and routing engine | Required sections, references, validation, and routing fixtures pass. |
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/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/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
Other plugins' skills for the same job
npx claudepluginhub peterbamuhigire/chwezi-research-engine --plugin research59 skills in this plugin
/00-meta-initializationUse when starting a scaffolded research workspace that needs an explicit project profile, methodology, audience-output matrix, wave roadmap, and dispatch gate; do not use for routine work inside an already initialised project./academic-reporting-standardsUse when an academic paper, thesis, dissertation, journal article, systematic review, or examinable artefact must follow a named reporting or examination standard; use academic-writing instead for prose craft without a reporting-standard decision./academic-writingUse when drafting or revising an academic paper, essay, thesis, or dissertation with source-away composition, originality, citation, synthesis, voice, and register controls; use academic-reporting-standards for selecting formal study-reporting rules./agentic-research-operationsUse when designing, running, or auditing multi-agent research operations: wave planning, task briefs, agent roles, tool boundaries, verification loops, failure recovery, evaluation, and portable runtime behavior across Codex, Claude, and other agents./ai-evaluation-and-data-flywheelUse when designing evaluation, failure analysis, feedback capture, regression datasets, synthetic data controls, and data flywheels for AI-assisted research and agentic workflows./ai-slop-auditUse when auditing a concrete artefact for AI slop after a major iteration or before release, with evidence-backed findings, fixes, genericness score, and A/B/C/F verdict; use anti-ai-slop during production rather than for retrospective grading.