opsx-reverse-spec

Reverse-engineer formal technical specifications from observed code behavior.

1|1|Updated Apr 8, 2026
One-click install
npx skills add https://github.com/ConductionNL/shillinq --skill opsx-reverse-spec
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: opsx-reverse-spec
Source: https://github.com/ConductionNL/shillinq/tree/main/.claude/skills/opsx-reverse-spec
Command: npx skills add https://github.com/ConductionNL/shillinq --skill opsx-reverse-spec

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill addresses the technical debt of undocumented code by reverse-engineering formal specifications from observed runtime behavior, ensuring that legacy or undocumented systems are properly mapped to architectural requirements.

Core Features & Use Cases

  • Retroactive Specification: Drafts REQs based on actual code execution rather than aspirational design.
  • Ghost Change Management: Creates structured, reviewable PRs that include spec deltas, tasks, and code annotations.
  • Use Case: When a legacy service lacks documentation, use this Skill to analyze its methods, generate a formal spec, and annotate the codebase to align with organizational standards.

Quick Start

Run the opsx-reverse-spec skill for the specified application using the cluster name provided in your coverage report.

Frequently Asked Questions about opsx-reverse-spec

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I document undocumented legacy code behavior?

To document undocumented legacy code, you can reverse-engineer formal technical specifications from observed runtime behavior. This process analyzes specific code clusters to generate spec deltas and inline annotations, mapping legacy systems to architectural requirements.

What is reverse-engineering a specification from existing code?

Reverse-engineering a specification from existing code involves drafting formal requirements based on actual code execution rather than aspirational design. It operates on code clusters identified in coverage reports to produce structured spec deltas and task lists.

How do I create reviewable PRs for retroactive code documentation?

You create reviewable PRs for retroactive code documentation by generating ghost change management artifacts that include spec deltas, task lists, and inline code annotations. This structured workflow ensures legacy system updates align with organizational standards.

Can I generate spec deltas from a coverage report for a legacy service?

Yes, you can generate spec deltas from a coverage report for a legacy service by running reverse-spec analysis on specific code clusters. The process produces formal requirements and code annotations that satisfy architectural compliance and testability standards.

Does reverse-spec analysis require a specific cluster name to start?

Reverse-spec analysis requires a cluster name provided in your coverage report to target the undocumented codebase. You run the process for the specified application using that cluster identifier to map observed behavior to formal requirements.

When should I use reverse engineering for technical specifications instead of forward design?

You should use reverse engineering for technical specifications when a legacy service lacks documentation and technical debt needs reduction. It maps actual observed code behavior to architectural requirements, ensuring undocumented system functionality is properly specified for compliance.