To spec

From stevesolun/ctx · View interactive version

To spec is an AI agent skill from the GitHub repository stevesolun/ctx. Synthesize an implementation-ready spec from the current conversation and relevant repository context. Use explicitly when the user wants agreed work captured as a spec or PRD.

How to use this skill

Skill file

Create a spec

Capture the decisions already made. Resolve only gaps that would materially

change the intended behavior, scope, or feasibility; do not reopen settled

questions for the sake of completing a template.

Inspect the relevant implementation, tests, domain language, and architectural

decisions when they improve fidelity. Keep facts observed in the repository

distinct from decisions inferred from the conversation.

Describe:

Prefer durable behavioral contracts over file paths and implementation recipes.

Include code or a type shape only when it records a decision more precisely than

prose.

Use the spec format when a structured document helps. Return,

save, or publish the spec in the destination the user requested. Treat tracker

publication and label changes as separate mutations requiring clear scope.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.