بنقرة واحدة
skill-reverse-engineering
Regenerate architecture documentation from codebase analysis.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Regenerate architecture documentation from codebase analysis.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Use when decomposing tasks into parallel sub-tasks or spawning sub-agents. Vendor-agnostic core; load a per-vendor reference for concrete tool names, directory conventions, and invocation syntax.
Use when performing Verification-Driven Development with adversarial approach. Actively challenge assumptions and find weak spots.
Use when performing VDD adversarial review with an opt-in sarcastic, provocative delivery style — a stylistic skin over vdd-adversarial mechanics (exhaustive reporting + objective bar).
Performance critic in adversarial style (optional sarcastic skin). Part of VDD Multi-Adversarial pipeline.
Use when performing OWASP security critique in adversarial style (optional sarcastic skin). Part of VDD Multi-Adversarial pipeline.
Use when performing security vulnerability assessment (OWASP, secrets, dependencies, IaC, LLM, API, MCP/agentic) or when "thinking like a hacker" to find exploits.
| name | skill-reverse-engineering |
| description | Regenerate architecture documentation from codebase analysis. |
| tier | 2 |
| version | 1.1 |
Recover the mental model of a project from its codebase when documentation is outdated or missing.
Tool: scripts/scan_structure.py
Usage:
python3 .agent/skills/skill-reverse-engineering/scripts/scan_structure.py . --depth 2
Goal:
For each key component identified in Phase 1:
Combine local summaries to update docs/ARCHITECTURE.md:
Generate diffs for:
Identify:
TODO/HACK comments indicating tech debt.[!CAUTION] Never overwrite architectural rationale written by humans.
Protected patterns:
<!-- HUMAN KNOWLEDGE -->> **Design Decision:**Strategy: Append new findings, do not delete existing rationale.
skill-update-memory: After analysis, run bootstrap mode to create missing .AGENTS.md files where needed.04-update-docs: Run this skill if docs drift is detected.