reverse
Skill4 starsChanged 28 days agoMITView on GitHub
[UDS] System archeology — reverse engineer an existing system across the Logic, Data, and Runtime dimensions. Use when: documenting an undocumented system, recovering specifications from existing code, mapping an unknown data model or runtime topology. Not for: assessing health and risk before a feature — use /discover; deriving tests forward from an approved spec — use /spec-derive. Keywords: reverse engineering, system archeology, legacy code, spec extraction, data model, runtime, 反向工程, 系統考古, 規格提取.
- Reads credentials
3 other projects use a version of this.
Adopted by
Most recently taken up by
- Carchar91/recipient-aware-aitheir own version, first seen Nov 8, 2026
- AsiaOstrich/universal-dev-standardsword for word, first seen Nov 4, 2026
- MysterionRise/ctf-kittheir own version, first seen Oct 13, 2026
Other versions3 projects use a version of this.
Word for word · 1
- AsiaOstrich/universal-dev-standards★ 84100% same
Edited · 0
None found.
Wrote their own version · 2
- MysterionRise/ctf-kit★ 12same name
- Carchar91/recipient-aware-ai★ 4same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository55 other files it gives its agents.
- AGENTS.mdAGENTS.md
- ac-coverageSkill
- adrSkill
- ai-collaboration-standardsSkill
- ai-friendly-architectureSkill
- ai-instruction-standardsSkill
- api-designSkill
- atddSkill
- auditSkill
- bddSkill
- brainstormSkill
- changelogSkill
- checkinSkill
- ci-cdSkill
- code-reviewSkill
- commitSkill
- contract-testSkill
- databaseSkill
- deploySkill
- methodologySkill
- dev-workflowSkill
- docgenSkill
- documentation-guideSkill
- durableSkill
- e2eSkill
- error-code-guideSkill
- git-workflow-guideSkill
- incidentSkill
- journey-test-assistantSkill
- knowledge-graphSkill
- logging-guideSkill
- metricsSkill
- migrateSkill
- observabilitySkill
- orchestrateSkill
- planSkill
- prSkill
- discoverSkill
- project-structure-guideSkill
- pushSkill
- refactorSkill
- releaseSkill
- requirementSkill
- retrospectiveSkill
- runbookSkill
- securitySkill
- scanSkill
- skill-builderSkill
- sloSkill
- spec-deriveSkill
- sddSkill
- sweepSkill
- tddSkill
- coverageSkill
- testing-guideSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 72
When /reverse is invoked without a subcommand, execute all three dimensions sequentially:
- Distinctive: line 84
Scan: - Read source files and identify public APIs, data flows, and business logic
- Distinctive: line 117
Security: NEVER output actual secret values.
- Very specific: line 141
After /reverse (full or spec) completes, the AI assistant should suggest:
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Reverse Engineering Assistant | 反向工程助手
System archeology framework: reverse engineer existing systems across three dimensions — Logic, Data, and Runtime.
系統考古框架:從三個維度反向工程既有系統——邏輯、資料、執行環境。
Three Dimensions | 三大維度
┌─────────────────────────────────────────────────────────┐
│ System Archeology Framework │
├──────────┬──────────────┬────────────────────────────────┤
│ Logic │ Data │ Runtime │
│ (spec) │ (data) │ (runtime) │
├──────────┼──────────────┼────────────────────────────────┤
│ APIs │ DB Schemas │ Logs & Error Patterns │
│ Modules │ ORMs/Models │ Config & Environment │
│ Flows │ Migrations │ Metrics & Performance │
│ Tests │ Seed Data │ Infra & Deployment │
└──────────┴──────────────┴────────────────────────────────┘Subcommands | 子命令
| Subcommand | Dimension | Input | Output | 說明 |
| (none) | All | Project root | Full Archeology Report | 三維度全面分析 |
spec | Logic | Code files/dirs | SPEC-XXX.md | 從程式碼提取規格 |
data | Data | DB schemas, ORMs, migrations | Data Model Spec | 分析資料模型與結構 |
runtime | Runtime | Logs, configs, metrics | Runtime Baseline | 分析執行環境基準 |
bdd | — | SPEC-XXX.md | .feature | 將 AC 轉為 Gherkin |
tdd | — | .feature | Coverage Report | 分析測試覆蓋率 |
Full Analysis Mode | 全面分析模式
When /reverse is invoked without a subcommand, execute all three dimensions sequentially:
- Data → Scan schemas, ORMs, migrations
- Runtime → Analyze logs, configs, deployment
- Logic (spec) → Extract APIs, flows, tests → Generate SPEC
Output: Integrated System Archeology Report combining all three dimensions.
Dimension Details | 維度詳情
spec: Logic Dimension (既有)
- Scan - Read source files and identify public APIs, data flows, and business logic
- Classify - Tag each finding as
[Confirmed],[Inferred], or[Unknown] - Structure - Organize into SDD spec format with Acceptance Criteria
- Attribute - Cite every reversed item with
file:linesource reference
data: Data Dimension (新增)
- Discover - Find database schemas, ORM models, migration files, seed data
- Map - Build entity-relationship model from code evidence
- Classify - Tag relationships as
[Confirmed](FK constraints) or[Inferred](code patterns) - Report - Output data model spec with:
- Entity list with fields and types
- Relationship map (1:1, 1:N, M:N)
- Index and constraint inventory
- Migration history summary
- Data flow paths (write → read)
Evidence sources: schema.prisma, *.migration.*, models/, entities/, knexfile.*, sequelize, typeorm, SQL files, docker-compose.yml (DB services)
runtime: Runtime Dimension (新增)
- Scan configs - Environment variables, config files, feature flags
- Analyze logs - Log patterns, error frequency, log levels
- Check infra - Docker configs, CI/CD pipelines, deployment manifests
- Baseline - Output runtime baseline with:
- Environment variable inventory (names only, never values/secrets)
- Config file map and hierarchy
- External service dependencies (APIs, queues, caches)
- Deployment topology (containers, services)
- Health check and monitoring endpoints
Evidence sources: .env.example, docker-compose.yml, Dockerfile, *.config.*, CI/CD files, k8s/, log files (patterns only)
Security: NEVER output actual secret values. Only list variable names and describe their purpose.
Anti-Hallucination Rules | 防幻覺規則
| Rule | Requirement | 要求 |
| Certainty Tags | Use [Confirmed], [Inferred], [Unknown] for all findings | 所有發現須標注確定性 |
| Source Attribution | Cite file:line for every reversed item | 每項反向結果須引用來源 |
| No Fabrication | Never invent APIs or behaviors not found in code | 不得捏造程式碼中不存在的 API 或行為 |
| No Secrets | Never output secret values from configs or env files | 不得輸出設定檔或環境變數的密鑰值 |
Usage | 使用方式
/reverse - Full 3-dimension analysis | 三維度全面分析
/reverse spec src/auth/ - Logic: extract spec | 邏輯:提取規格
/reverse data - Data: analyze schemas & models | 資料:分析結構
/reverse runtime - Runtime: analyze configs & infra | 執行環境:分析配置
/reverse bdd specs/SPEC-AUTH.md - Convert spec ACs to Gherkin
/reverse tdd features/auth.feature - Analyze test coverageNext Steps Guidance | 下一步引導
After /reverse (full or spec) completes, the AI assistant should suggest:
系統考古完成。建議下一步 / System archeology complete. Suggested next steps:
- 執行
/sdd審查並核准此規格 ⭐ Recommended / 推薦 — Review and approve the generated spec- 執行
/derive從規格推導測試 — Derive tests from spec (requires approval first)- 審查規格中的
[Inferred]和[Unknown]標記 — Review uncertainty tags manually
Reference | 參考
- BDD Extraction Workflow Guide — Read it when extracting BDD scenarios out of an existing spec.
- TDD Analysis Workflow Guide — Read it when analysing test coverage against scenarios and finding the gaps.
- Step-by-step workflow: workflow.md — the reverse-engineering phases in order (code scanning, data models, configuration, test analysis, coverage). Read it when actually running the process rather than deciding whether to.
- Detailed guide: guide.md
- Core standard: reverse-engineering-standards.md
AI Agent Behavior | AI 代理行為
完整的 AI 行為定義請參閱對應的命令文件:
/reverseFor complete AI agent behavior definition, see the corresponding command file:
/reverse
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

