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".
Scanned 9/12/2026
Install to Claude Code
npx -y skills add aibot88/sec_skill_store --skill doncheli-distill --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Doncheli Distill?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/aibot88-doncheli-distill)More formats (shields.io, HTML) on the badges page.
---
name: doncheli-distill
description: 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".
---
# 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
```mermaid
…
```
### Distilled Spec (Gherkin)
```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
- Every entry point must map to at least one Gherkin scenario
- Architecture diagram must show at least: external inputs, internal modules, data stores, external services
- Business rules must cite their source location
## Do not use this skill when
- The user wants to write new specs for a new feature (use doncheli-spec instead)
- The codebase has no existing logic to analyze
Is this your skill, or is something wrong with this listing? . Author removals are honored within 72 hours.
No comments yet. Be the first to comment!