

Also from Kynth Studios


Also from Kynth Studios


Also from Kynth Studios
12345# Reverse Engineering67**Purpose**: Analyze existing codebase and generate comprehensive design artifacts89**Execute when**: Brownfield project detected (existing code found in workspace)1011**Skip when**: Greenfield project (no existing code)1213**Rerun behavior**: Rerun is controlled by workspace-detection.md. If existing reverse engineering artifacts are found and are still current, they are loaded and reverse engineering is skipped. If artifacts are stale (older than the codebase's last significant modification) or the user explicitly requests a rerun, reverse engineering executes again to ensure artifacts reflect current code state1415## Step 1: Multi-Package Discovery1617### 1.1 Scan Workspace18- All packages (not just mentioned ones)19- Package relationships via config files20- Package types: Application, CDK/Infrastructure, Models, Clients, Tests2122### 1.2 Understand the Business Context23- The core business that the system is implementing overall24- The business overview of every package25- List of Business Transactions that are implemented in the system2627### 1.3 Infrastructure Discovery28- CDK packages (package.json with CDK dependencies)29- Terraform (.tf files)30- CloudFormation (.yaml/.json templates)31- Deployment scripts3233### 1.4 Build System Discovery34- Build systems: Brazil, Maven, Gradle, npm35- Config files for build-system declarations36- Build dependencies between packages3738### 1.5 Service Architecture Discovery39- Lambda functions (handlers, triggers)40- Container services (Docker/ECS configs)41- API definitions (Smithy models, OpenAPI specs)42- Data stores (DynamoDB, S3, etc.)4344### 1.6 Code Quality Analysis45- Programming languages and frameworks46- Test coverage indicators47- Linting configurations48- CI/CD pipelines4950## Step 2: Generate Business Overview Documentation5152Create `aidlc-docs/inception/reverse-engineering/business-overview.md`:5354```markdown55# Business Overview5657## Business Context Diagram58[Mermaid diagram showing the Business Context]5960## Business Description61- **Business Description**: [Overall Business description of what the system does]62- **Business Transactions**: [List of Business Transactions that the system implements and their descriptions]63- **Business Dictionary**: [Business dictionary terms that the system follows and their meaning]6465## Component Level Business Descriptions66### [Package/Component Name]67- **Purpose**: [What it does from the business perspective]68- **Responsibilities**: [Key responsibilities]69```7071## Step 3: Generate Architecture Documentation7273Create `aidlc-docs/inception/reverse-engineering/architecture.md`:7475```markdown76# System Architecture7778## System Overview79[High-level description of the system]8081## Architecture Diagram82[Mermaid diagram showing all packages, services, data stores, relationships]8384## Component Descriptions85### [Package/Component Name]86- **Purpose**: [What it does]87- **Responsibilities**: [Key responsibilities]88- **Dependencies**: [What it depends on]89- **Type**: [Application/Infrastructure/Model/Client/Test]9091## Data Flow92[Mermaid sequence diagram of key workflows]9394## Integration Points95- **External APIs**: [List with purposes]96- **Databases**: [List with purposes]97- **Third-party Services**: [List with purposes]9899## Infrastructure Components100- **CDK Stacks**: [List with purposes]101- **Deployment Model**: [Description]102- **Networking**: [VPC, subnets, security groups]103```104105## Step 4: Generate Code Structure Documentation106107Create `aidlc-docs/inception/reverse-engineering/code-structure.md`:108109```markdown110# Code Structure111112## Build System113- **Type**: [Maven/Gradle/npm/Brazil]114- **Configuration**: [Key build files and settings]115116## Key Classes/Modules117[Mermaid class diagram or module hierarchy]118119### Existing Files Inventory120[List all source files with their purposes - these are candidates for modification in brownfield projects]121122**Example format**:123- `[path/to/file]` - [Purpose/responsibility]124125## Design Patterns126### [Pattern Name]127- **Location**: [Where used]128- **Purpose**: [Why used]129- **Implementation**: [How implemented]130131## Critical Dependencies132### [Dependency Name]133- **Version**: [Version number]134- **Usage**: [How and where used]135- **Purpose**: [Why needed]136```137138## Step 5: Generate API Documentation139140Create `aidlc-docs/inception/reverse-engineering/api-documentation.md`:141142```markdown143# API Documentation144145## REST APIs146### [Endpoint Name]147- **Method**: [GET/POST/PUT/DELETE]148- **Path**: [/api/path]149- **Purpose**: [What it does]150- **Request**: [Request format]151- **Response**: [Response format]152153## Internal APIs154### [Interface/Class Name]155- **Methods**: [List with signatures]156- **Parameters**: [Parameter descriptions]157- **Return Types**: [Return type descriptions]158159## Data Models160### [Model Name]161- **Fields**: [Field descriptions]162- **Relationships**: [Related models]163- **Validation**: [Validation rules]164```165166## Step 6: Generate Component Inventory167168Create `aidlc-docs/inception/reverse-engineering/component-inventory.md`:169170```markdown171# Component Inventory172173## Application Packages174- [Package name] - [Purpose]175176## Infrastructure Packages177- [Package name] - [CDK/Terraform] - [Purpose]178179## Shared Packages180- [Package name] - [Models/Utilities/Clients] - [Purpose]181182## Test Packages183- [Package name] - [Integration/Load/Unit] - [Purpose]184185## Total Count186- **Total Packages**: [Number]187- **Application**: [Number]188- **Infrastructure**: [Number]189- **Shared**: [Number]190- **Test**: [Number]191```192193## Step 7: Generate Technology Stack Documentation194195Create `aidlc-docs/inception/reverse-engineering/technology-stack.md`:196197```markdown198# Technology Stack199200## Programming Languages201- [Language] - [Version] - [Usage]202203## Frameworks204- [Framework] - [Version] - [Purpose]205206## Infrastructure207- [Service] - [Purpose]208209## Build Tools210- [Tool] - [Version] - [Purpose]211212## Testing Tools213- [Tool] - [Version] - [Purpose]214```215216## Step 8: Generate Dependencies Documentation217218Create `aidlc-docs/inception/reverse-engineering/dependencies.md`:219220```markdown221# Dependencies222223## Internal Dependencies224[Mermaid diagram showing package dependencies]225226### [Package A] depends on [Package B]227- **Type**: [Compile/Runtime/Test]228- **Reason**: [Why dependency exists]229230## External Dependencies231### [Dependency Name]232- **Version**: [Version]233- **Purpose**: [Why used]234- **License**: [License type]235```236237## Step 9: Generate Code Quality Assessment238239Create `aidlc-docs/inception/reverse-engineering/code-quality-assessment.md`:240241```markdown242# Code Quality Assessment243244## Test Coverage245- **Overall**: [Percentage or Good/Fair/Poor/None]246- **Unit Tests**: [Status]247- **Integration Tests**: [Status]248249## Code Quality Indicators250- **Linting**: [Configured/Not configured]251- **Code Style**: [Consistent/Inconsistent]252- **Documentation**: [Good/Fair/Poor]253254## Technical Debt255- [Issue description and location]256257## Patterns and Anti-patterns258- **Good Patterns**: [List]259- **Anti-patterns**: [List with locations]260```261262## Step 10: Create Timestamp File263264Create `aidlc-docs/inception/reverse-engineering/reverse-engineering-timestamp.md`:265266```markdown267# Reverse Engineering Metadata268269**Analysis Date**: [ISO timestamp]270**Analyzer**: AI-DLC271**Workspace**: [Workspace path]272**Total Files Analyzed**: [Number]273274## Artifacts Generated275- [x] architecture.md276- [x] code-structure.md277- [x] api-documentation.md278- [x] component-inventory.md279- [x] technology-stack.md280- [x] dependencies.md281- [x] code-quality-assessment.md282```283284## Step 11: Update State Tracking285286Update `aidlc-docs/aidlc-state.md`:287288```markdown289## Reverse Engineering Status290- [x] Reverse Engineering - Completed on [timestamp]291- **Artifacts Location**: aidlc-docs/inception/reverse-engineering/292```293294## Step 12: Present Completion Message to User295296```markdown297# 🔍 Reverse Engineering Complete298299[AI-generated summary of key findings from analysis in the form of bullet points]300301> **📋 <u>**REVIEW REQUIRED:**</u>**302> Please examine the reverse engineering artifacts at: `aidlc-docs/inception/reverse-engineering/`303304> **🚀 <u>**WHAT'S NEXT?**</u>**305>306> **You may:**307>308> 🔧 **Request Changes** - Ask for modifications to the reverse engineering analysis if required309> ✅ **Approve & Continue** - Approve analysis and proceed to **Requirements Analysis**310```311312## Step 13: Wait for User Approval313314- **MANDATORY**: Do not proceed until user explicitly approves315- **MANDATORY**: Log user's response in audit.md with complete raw input316
One repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| nota-america/forgecat-agent-profilesprofiles/addyosmani/agent-skills/for-cursor/.cursor/rules/cmd-build.mdc · 51 | Cursor rules | no sections | 16/100 | today | |
| nota-america/forgecat-agent-profilesprofiles/addyosmani/agent-skills/for-cursor/.cursor/rules/cmd-code-simplify.mdc · 51 | Cursor rules | testing-strategy | 30/100 | today | |
| nota-america/forgecat-agent-profilesprofiles/addyosmani/agent-skills/for-cursor/.cursor/rules/cmd-plan.mdc · 51 | Cursor rules | no sections | 16/100 | today | |
| nota-america/forgecat-agent-profilesprofiles/addyosmani/agent-skills/for-cursor/.cursor/rules/cmd-review.mdc · 51 | Cursor rules | no sections | 16/100 | today | |
| nota-america/forgecat-agent-profilesprofiles/addyosmani/agent-skills/for-cursor/.cursor/rules/cmd-ship.mdc · 51 | Cursor rules | testing-strategygitdeploymentdo-not | 61/100 | today | |
| nota-america/forgecat-agent-profilesprofiles/addyosmani/agent-skills/for-cursor/.cursor/rules/cmd-spec.mdc · 51 | Cursor rules | no sections | 16/100 | today | |
| nota-america/forgecat-agent-profilesprofiles/addyosmani/agent-skills/for-cursor/.cursor/rules/cmd-test.mdc · 51 | Cursor rules | no sections | 16/100 | today | |
| nota-america/forgecat-agent-profilesprofiles/addyosmani/agent-skills/for-forgecat/AGENTS.md · 51 | AGENTS.md | lint-formatstylearchdo-not | 73/100 | today | |
| nota-america/forgecat-agent-profilesprofiles/addyosmani/agent-skills/for-forgecat/CLAUDE.md · 51 | CLAUDE.md | teststylearchagent-behaviour | 70/100 | today | |
| nota-america/forgecat-agent-profilesprofiles/anthropics/claude-code/anthropics_claude-code_ralph-wiggum/for-cursor/.cursor/rules/cmd-cancel-ralph.mdc · 51 | Cursor rules | no sections | 16/100 | today | |
| nota-america/forgecat-agent-profilesprofiles/anthropics/claude-code/anthropics_claude-code_ralph-wiggum/for-cursor/.cursor/rules/cmd-help.mdc · 51 | Cursor rules | no sections | 54/100 | today | |
| nota-america/forgecat-agent-profilesprofiles/anthropics/claude-code/anthropics_claude-code_ralph-wiggum/for-cursor/.cursor/rules/cmd-ralph-loop.mdc · 51 | Cursor rules | no sections | 22/100 | today | |
| nota-america/forgecat-agent-profilesprofiles/anthropics/claude-plugins-official/anthropics_claude-plugins-official_agent-sdk-dev/for-cursor/.cursor/rules/cmd-new-sdk-app.mdc · 51 | Cursor rules | setupstylearchdocs | 76/100 | today | |
| nota-america/forgecat-agent-profilesprofiles/anthropics/claude-plugins-official/anthropics_claude-plugins-official_claude-md-management/for-cursor/.cursor/rules/cmd-revise-claude-md.mdc · 51 | Cursor rules | agent-behaviour | 50/100 | today | |
| nota-america/forgecat-agent-profilesprofiles/anthropics/claude-plugins-official/anthropics_claude-plugins-official_code-review/for-cursor/.cursor/rules/cmd-code-review.mdc · 51 | Cursor rules | testing-strategygit | 35/100 | today | |
| nota-america/forgecat-agent-profilesprofiles/anthropics/claude-plugins-official/anthropics_claude-plugins-official_commit-commands/for-cursor/.cursor/rules/cmd-clean_gone.mdc · 51 | Cursor rules | no sections | 60/100 | today | |
| nota-america/forgecat-agent-profilesprofiles/anthropics/claude-plugins-official/anthropics_claude-plugins-official_commit-commands/for-cursor/.cursor/rules/cmd-commit-push-pr.mdc · 51 | Cursor rules | stylegit | 44/100 | today | |
| nota-america/forgecat-agent-profilesprofiles/anthropics/claude-plugins-official/anthropics_claude-plugins-official_commit-commands/for-cursor/.cursor/rules/cmd-commit.mdc · 51 | Cursor rules | style | 44/100 | today | |
| nota-america/forgecat-agent-profilesprofiles/anthropics/claude-plugins-official/anthropics_claude-plugins-official_example-plugin/for-cursor/.cursor/rules/cmd-example-command.mdc · 51 | Cursor rules | lint-formatstyleagent-behaviour | 58/100 | today | |
| nota-america/forgecat-agent-profilesprofiles/anthropics/claude-plugins-official/anthropics_claude-plugins-official_feature-dev/for-cursor/.cursor/rules/cmd-feature-dev.mdc · 51 | Cursor rules | stylearchgit | 56/100 | today |
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| hiromaily/go-crypto-wallet.cursor/rules/typescript.mdc · 126 | Cursor rules | setupbuildtestlint-format+6 | 100/100 | 14 days ago | |
| TechSquidTV/Hermes.cursor/rules/10-hermes-api.mdc · 46 | Cursor rules | testlint-formatstylearch+5 | 100/100 | 14 days ago | |
| dodgecfr/combatfilms-webapp.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 14 days ago | |
| deifos/clipmira-subtitles.cursor/rules/frontend.mdc · 1 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 14 days ago | |
| markstev/mark-starter.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+6 | 99/100 | 14 days ago | |
| Allymahmoud/case-intake-platform.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 14 days ago | |
| langflow-ai/langflow.cursor/rules/docs_development.mdc · 153k | Cursor rules | setupbuildtestlint-format+7 | 97/100 | 14 days ago | |
| bybren-llc/safe-agentic-workflow.cursor/rules/10-backend-python.mdc · 399 | Cursor rules | testlint-formatstylegit+4 | 97/100 | today |
A badge carrying the measured quality of the strongest agent config file in this repository, out of 100. It reads from this index every time somebody loads your page, so it changes when the measurement changes and there is nothing to keep up to date. Free, no account, and the value is not something you or we can set by hand.
[](https://rulestack.kynth.studio/configs/nota-america-forgecat-agent-profiles-profiles-awslabs-aidlc-workflows-for-cursor-cursor-rules-rule-reverse-engineering)Would rather not hotlink us? Every badge is also served in shields.io’s endpoint schema, so shields renders the image and your readers never talk to our domain:
Published by Toolproof, the masthead over this index and eight others. The method behind the number is at toolproof.kynth.studio/methodology, and the whole thing is readable as JSON with no key at /api.