SKILL

oc-reverse-spec

Reverse-engineer existing code into spec docs. Use for /oc-rev-spec, /oc-reverse-spec, /oc-rev-full, /oc-rev-scan, /oc-rev-design, /oc-rev-stack, /oc-rev-sprint, "document this codebase", "generate specs from code", "backfill specs", or when pointing at existing code that needs documentation.

Target: Office & team collaboration. Automatically collected · unverified.

Excerpt from the author’s documentation

Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.

Read the original English text

Topics in the source

  • Reverse Spec
  • Why This Exists
  • /oc-reverse-spec — Command Reference
  • Command Behavior
  • How This Skill Fits the Pipeline
  • Read by
  • Phase 0: Scope & Orientation
  • Determine Input Scope

On first invocation, read references/orchestrator.md and follow its welcome protocol. Read an existing codebase and generate the structured spec documents that oc-app-architect expects as inputs. This is the reverse of the normal pipeline: instead of idea → spec → code, it goes code → spec → pipeline-ready. The build pipeline (oc-app-architect Phase 2 stack decision → Phase 6 build loop) assumes spec documents exist. But most real projects were built before the pipeline existed, or grew organically without formal specs. Reverse-spec bridges that gap — it reads what's actually built and produces the documentation that makes the project legible to the rest of the toolchain. This matters because without specs: oc-app-architect can't generate a roadmap for new features (no baseline to build from) oc-stack-forge can't run a gap analysis (no documented architecture to compare against) oc-app-architect Phase 4 (/oc-roadmap) can't decompose features into sprints, and Phase 6 has no spec.md or sprint-plan.md to build against When the user types /oc-reverse-spec, display this menu: /oc-rev-scan: Run Phase 0 only (orientation). Quick inventory, no deep analysis. Produces the orientation summa

This is an excerpt. Refer to the complete source and its current requirements.

Source repository
ainatx/opchain
Source file
skills/oc-reverse-spec/SKILL.md
Fixed revision
d4443b0fb4ef658f7b351587b2c60d228ad55620
Read the complete original documentation ↗

Sources and evidence

This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.

Author: ainatx/opchain · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-10T20:01:08.294Z.

Categories are inferred from names, descriptions and paths. They do not establish compatibility.

License and attribution

Apache-2.0. Third-party content and copyright remain with their authors. Refer to the original license and terms.

Original license ↗

Synchronization, copying and user-reported success do not mark a resource as runtime-tested.

Limitations and notes

  • Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.