# Doncheli Distill

> 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".

- **Type:** Skill
- **Install:** `agentstack add skill-doncheli-don-cheli-sdd-doncheli-distill`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [doncheli](https://agentstack.voostack.com/s/doncheli)
- **Installs:** 0
- **Category:** [AI & ML](https://agentstack.voostack.com/c/ai-and-ml)
- **Latest version:** 0.1.0
- **License:** Apache-2.0
- **Upstream author:** [doncheli](https://github.com/doncheli)
- **Source:** https://github.com/doncheli/don-cheli-sdd/tree/main/.opencode/skills/doncheli-distill
- **Website:** https://doncheli.tv

## Install

```sh
agentstack add skill-doncheli-don-cheli-sdd-doncheli-distill
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# 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: 

### Architecture Diagram
```mermaid
…
```

### Distilled Spec (Gherkin)
```gherkin
Feature: 
  Background: …

  Scenario: 
    Given …
    When …
    Then …

  Scenario: 
    …
```

### Implicit Business Rules
1.  — found in: 
…

### Ambiguities & Dead Code
- [NEEDS CLARIFICATION]  — 
…
```

## 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

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [doncheli](https://github.com/doncheli)
- **Source:** [doncheli/don-cheli-sdd](https://github.com/doncheli/don-cheli-sdd)
- **License:** Apache-2.0
- **Homepage:** https://doncheli.tv

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-doncheli-don-cheli-sdd-doncheli-distill
- Seller: https://agentstack.voostack.com/s/doncheli
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
