From spexl
Implement a proposed spec change -- write the code and the tests that satisfy every requirement and scenario. Use when the user asks to "apply", "implement", "build the feature", "start coding the spec", "make it real", or references an active change that is ready for implementation. Never claim "done" without passing tests. Use `/spexl-archive` next to merge deltas into reference specs once the change is complete.
How this skill is triggered — by the user, by Claude, or both
Slash command
/spexl:spexl-applyThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Implement a proposed change: write the code, write the tests, and verify every requirement and scenario is satisfied.
Implement a proposed change: write the code, write the tests, and verify every requirement and scenario is satisfied.
Before doing anything else, invoke the spexl-foundations skill. Tell it you're in the apply phase and need the rules, directory structure (especially file ownership of deltas/), verification guidance, and mode behavior. If autonomous mode or a critic invocation is in play, also ask for critique guidance.
Read the change directory:
proposal.md -- why this change existsdeltas/*/spec.md -- what's changing; these are the requirements and scenarios to satisfydesign.md -- technical approach (if exists)tasks.md -- progress overview (if exists)notes/ -- previous learnings (if exists)Important: The deltas/ directory is for specification files only. All generated code must go elsewhere.
src/, lib/, app/, project root)design.md for specified file pathsNever write .py, .js, .ts, .html, etc. inside deltas/.
Work through the change:
deltas/*/spec.mdtasks.md checkboxes as tasks complete (if tasks.md exists)notes/ if the work spans multiple sessionsWrite tests alongside implementation -- not after. Spec scenarios translate directly to test cases.
# spec: comments linking back to the specFollow the verification guidance the methodology skill loaded for the annotation format, coverage check approach, and test strategy guidance (unit / behavioral / differential).
Create or update notes/ when there's new information worth recording. Notes can be created during any phase.
Suggested note files:
research.md -- exploration findings, links, citationsimplementation.md -- apply-phase learnings, gotchas, failed approachesWhat belongs in notes:
What does NOT belong in notes:
proposal.md)deltas/*/spec.md)design.md)Before claiming completion:
deltas/*/spec.md and confirm a corresponding test exists (use spexl validate if available, or grep for # spec: annotations and cross-reference)Never claim "all scenarios satisfied" without passing tests. This is rule 4.
Autonomous mode: Invoke spexl-spec-critic (all) before marking complete. Follow the mode behavior the methodology skill loaded.
If implementation reveals a gap in the spec, do not silently update the spec. Surface the choice: "The spec doesn't cover . Do you want to refine the spec or work around it?" Spec changes require user confirmation because they affect scope.
When the change is complete and all tests pass, suggest: "Ready to archive. Invoke /spexl-archive <slug> to merge deltas into the reference specs."
deltas/npx claudepluginhub a3lem/spexl --plugin spexlGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.