grill-me-code-style
适合初始化新仓库,自动产出规范与配置
会写入/修改仓库文件,需要文件写入权限
通过问答明确项目代码风格并生成 CODE-STYLE.md 与格式化配置
通过问答把新项目的代码风格、目录约定、CLI 用法和真实代码 idioms 抽清楚,然后产出 CODE-STYLE.md 和格式化器配置并刷新 AGENTS.md。用在从零开始搭项目或重构前要统一规范、代码很少时最合适。特点是逐问逐答锁定具体习惯(不是抽象架构),最终给出可直接用的格式化配置和文档。
▸ 展开 SKILL.md 英文原文
Grill the user on how a NEW/greenfield project is built — code style, structure docs, and CLI — then render an HTML plan and, on approval, write 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) and grills real code idioms + formatting, not just architecture. Use when setting up or reorganizing a new project, when there is little/no code, or when defining coding style, structure, or CLI conventions from scratch. For an existing codebase, use grill-me-code-style-with-docs instead.
帮我安装这个 skill:https://raw.githubusercontent.com/YosefHayim/dufflebag/main/src/skills/grill-me-code-style/SKILL.mdcurl -fsSL "https://raw.githubusercontent.com/YosefHayim/dufflebag/main/src/skills/grill-me-code-style/SKILL.md"<what-to-do>
Interview me relentlessly about **how this project 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.
This is the **greenfield** variant: there is little or no code to read. Your source of truth is my **taste** (grill me) plus the project's **purpose** and its **language/framework** conventions. Never write generic advice ("use clear names", "keep functions small") — every rule must be a real, load-bearing decision fo