skills/specops-initial-plan/SKILL.md
This skill should be used when the user asks to create an initial SpecOps plan or to extract a comprehensive implementation-language-agnostic specification from an existing codebase, module, subsystem, service, or workflow.
npx skillsauth add ryan-mahoney/ryan-llm-skills specops-initial-planInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Perform a SpecOps analysis to extract a comprehensive, implementation-language-agnostic specification from existing code and related artifacts. This output is intended to be authoritative for future reimplementation, migration, or system redesign.
If $ARGUMENTS is provided, treat it as TARGET_SCOPE.
If $ARGUMENTS is not provided, infer TARGET_SCOPE from user request and repository context.
Discover and analyze source artifacts relevant to TARGET_SCOPE, including code, tests, configs, schemas, and docs.
When details are ambiguous or missing, explicitly mark uncertainty. Do not silently infer business rules.
Produce a markdown document with all sections below. If a section has no evidence, include it and write None identified.
Document all externally consumable interfaces:
For each interface:
For each meaningful structure:
Catalog external interactions:
For each: sync/async behavior and error handling.
WHAT and WHY, not language-specific implementation details.Evidence subsection per major section with file references.testing
This skill should be used when the user asks to "run the spec", "implement the spec", or "execute the spec". Implements every step in a SpecOps implementation spec by delegating each step (or logical group of adjacent steps) to a sequential subagent, conventional-committing each one independently, and — when `roborev` is on the path — running `roborev check` on every commit and `roborev fix` (with spec context, so the fix cannot silently drift the implementation away from the spec) on any commit that fails.
development
Exhaustively audit a top-level UI implementation component against an HTML prototype and produce a grouped markdown checklist of corrections. Use when a user asks for UI parity review, visual QA, design implementation audit, pixel-level drift detection, or behavior/style mismatch analysis between prototype HTML and shipped component code.
development
Audit a SpecOps implementation spec against its source analysis spec to find requirements, policies, contracts, edge cases, error modes, invariants, defaults, side effects, or implementation steps that the implementation has dropped, weakened, contradicted, or silently changed — then patch the implementation spec to restore them. Use this skill whenever the user mentions auditing, comparing, conforming, reconciling, or checking an implementation spec against an analysis spec, finding gaps between two specs, ensuring an implementation spec preserves analysis behavior, or verifying spec derivation or traceability. Also trigger when the user describes "did the implementation spec lose anything from the analysis," "does the implementation match the analysis," "verify the implementation spec covers everything," or asks to confirm one spec is faithful to another. Run this before generating code from an implementation spec and after either spec is edited.
development
Audit a set of SpecOps analysis specs for cross-spec coherence — establish a dependency-ordered implementation sequence, then verify pairwise integration contracts at module boundaries plus three cross-cutting consistency dimensions (shared data models, side-effect ownership, terminology) — and patch the affected specs to resolve gaps. Use this skill whenever the user mentions cross-spec consistency, integration gaps between specs, conflicts between specs, duplicate work across specs, implementation order, dependency order for migration, building an implementation-order checklist, ensuring specs interoperate, terminology drift across specs, or shared data model conflicts. Also trigger when the user describes "do my specs agree with each other," "what order should I implement these in," "find inconsistencies across all my specs," or asks to audit a folder of analysis specs as a set rather than individually. Run this once after generating a full set of analysis specs, before deriving implementation specs.