Writing Skills
Intent
Create or update skills with the same discipline as production code: clear pre/post conditions, guardrails, and verification.
When to Use
- •Creating a new skill.
- •Modifying an existing skill.
- •Refactoring skills for composability.
Precondition Failure Signal
- •A skill is added without a failing precondition and passing postcondition.
- •Red flags or review personas are missing.
- •Skill changes are made without verification or peer review.
Postcondition Success Signal
- •Skill uses
skills/writing-skills/templates/skill_template.mdstructure and required fields. - •Precondition and postcondition are explicit and testable.
- •Red flags and review personas are defined.
- •Documentation checks pass and review feedback is incorporated.
Process
- •Plan: Use
brainstormingthenwriting-plansif the change is multi-step. - •Template: Start from
skills/writing-skills/templates/skill_template.md. - •Define Tests: Write precondition and postcondition first.
- •Guardrails: Add red flags and conflict resolution rules.
- •Review Personas: Specify who validates the output.
- •Verify: Run
npm run verifyand fix all issues. - •Review: Request review using
structured-review-workflow.
Example Test / Validation
- •A new skill includes explicit pre/post conditions and passes
npm run verify.
Common Red Flags / Guardrail Violations
- •"It is just documentation" (skipping verification).
- •Adding a skill without conflict resolution rules.
- •Updating a skill without re-running checks.
Recommended Review Personas
- •Tech Lead - validates intent and conflicts.
- •Software Engineer - validates clarity and usability.
Skill Priority
P2 - Consistency & Governance
Conflict Resolution Rules
- •If verification fails, fix before adding more skills.
- •If scope expands, return to planning.
Conceptual Dependencies
- •documentation-as-code
- •verification-and-handover
Classification
Governance
Core
Notes
Skills are part of the product. Treat them as such.