grill-me-code-style-with-docs
适合新入项目或规范混乱的仓库,能自动产出配置与说明。
需要读取代码库,会生成或修改项目文档和配置文件。
通过问答采集代码库风格与结构,再生成 CODE-STYLE 和文档计划。
把现有代码库当证据,通过问答把代码风格、目录结构和 CLI 约定梳理清楚,最后生成 HTML 计划并在确认后写入 CODE-STYLE.md、格式化器配置并更新 AGENTS.md。适合为有实质代码的仓库定义或更新风格与文档。会确保 PROJECT.md/CONTEXT.md/LANGUAGE.md 存在、审计依赖、抽出高频模式并给出前后示例。
▸ 展开 SKILL.md 英文原文
Grill the user on how an EXISTING codebase is built — code style, structure docs, and CLI — using the real code as evidence, then render an HTML plan and, on approval, write/update CODE-STYLE.md + a formatter config and refresh the AGENTS.md digest. Ensures PROJECT.md/CONTEXT.md/LANGUAGE.md exist (create if missing, validate if present), fans out sub-agents for the most-repeated patterns, grills real code idioms + formatting with before/after, audits deps, and references official framework skills. Use when defining/updating style, structure, or CLI conventions for a repo with meaningful code. For a brand-new or empty project, use grill-me-code-style instead.
帮我安装这个 skill:https://raw.githubusercontent.com/YosefHayim/dufflebag/main/src/skills/grill-me-code-style-with-docs/SKILL.mdcurl -fsSL "https://raw.githubusercontent.com/YosefHayim/dufflebag/main/src/skills/grill-me-code-style-with-docs/SKILL.md"<what-to-do> Interview me relentlessly about **how this codebase is built** — its code style, its structure docs, and its CLI — until we reach a shared understanding. Walk down each branch of the decision tree, resolving dependencies one-by-one. For each question, provide your recommended answer. Ask the questions one at a time, waiting for feedback on each before continuing. My **taste is the source of truth**; the existing code is **evidence, not gospel** — much of it may be the slop I want gone. When code and my stated taste conflict, my taste wins and `CODE-STYLE.md` records the DESIRED end-state, not the current one. **Nothing is written to disk until I approve.** You scan and grill