Doncheli distill

From doncheli/don-cheli-sdd · View interactive version

Doncheli distill is an AI agent skill from the GitHub repository doncheli/don-cheli-sdd. Extract behavioral specifications and architecture diagrams from existing code (Blueprint Distillation / reverse engineering). Activate when user mentions "distill", "reverse engineer", "extract spec", "blueprint distillation", "understand codebase", "document existing code".

How to use this skill

Skill file

Don Cheli: Blueprint Distillation

Instructions

  1. Identify the target module, service or codebase to distill
  2. Scan entry points (routes, controllers, event handlers, CLI commands)
  3. Trace data flows: inputs → transformations → outputs → side effects
  4. Identify implicit business rules embedded in conditionals, validations, error handling
  5. Map entity relationships from data models and DB schemas
  6. Generate Gherkin scenarios that describe the observed behavior (not the code)
  7. Produce a C4-style architecture diagram in text (Mermaid or ASCII)
  8. Flag ambiguities, dead code, and undocumented assumptions with [NEEDS CLARIFICATION]

Output Format

## Blueprint: <module/service name>

### Architecture Diagram

…


### Distilled Spec (Gherkin)

Feature: <name>

Background: …

Scenario: <happy path>

Given …

When …

Then …

Scenario: <edge case / sad path>

…


### Implicit Business Rules
1. <rule> — found in: <file:line>
…

### Ambiguities & Dead Code
- [NEEDS CLARIFICATION] <description> — <file:line>
…

Quality Gate

Do not use this skill when

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.