← ClaudeAtlas

using-code-distillinglisted

Use when the user wants to port, distill, copy, borrow, or "bring in" a feature or capability from a reference open-source repo into their own project. Establishes the 3-stage distillation flow and its human gates.
duongnghia222/code-distilling · ★ 1 · AI & Automation · score 74
Install: claude install-skill duongnghia222/code-distilling
# Using Code Distilling Distillation takes the *encoded decisions* from a reference implementation — the algorithm, the tuned constants, the hard-won edge cases — and re-expresses them in your project. Keep the gold, drop their packaging. **The code is not the asset. The decisions encoded in the code are the asset.** This plugin is **not** a general coding workflow. It engages only when porting intent is present. For everything else, fall back to your default workflow. ## When to Engage Engage when ANY of these is true: - The user wants to port / distill / copy / borrow / "bring in" a feature from another repo. - The user hands you a path or URL to a reference repo and wants to adopt code from it. - The user says "there's a good implementation of X over there, let's use it." Do **not** engage when: - The user is writing original code from scratch with no reference repo. - The user is debugging or refactoring their own existing code. - The work is general software engineering unrelated to porting. If porting intent is present but no reference path is supplied yet, ask for one before starting Stage 1. Don't guess where the reference lives. ## The Flow Three stages, with human gates after the spec and after the plan. **Each stage writes a doc** — because the implementation stage dispatches isolated-context subagents, the docs are how the stages talk to each other. A subagent that can't see your conversation can read the plan. ```dot digraph distilling { "Referenc