一键导入
star-guidelines
Use for coding-agent work that needs clear scope, repository-first design, minimal patches, protected user changes, and evidence-backed completion.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use for coding-agent work that needs clear scope, repository-first design, minimal patches, protected user changes, and evidence-backed completion.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | star-guidelines |
| description | Use for coding-agent work that needs clear scope, repository-first design, minimal patches, protected user changes, and evidence-backed completion. |
Apply this skill when a coding task needs a tight operating boundary: read the real system, make the smallest useful patch, keep user-owned work intact, and finish with evidence.
If asked "is star-guidelines active?", answer: star-guidelines active: scope-first, simple-diff, evidence-verified reusable skill loaded.
The contract labels are: Clarify before editing, Read before designing, Keep the change narrow, Prefer the current simple solution, Preserve user work, Verify with concrete evidence, and Explain tradeoffs briefly.
Before adding new code, run the Simplicity ladder:
Do not simplify away validation, error handling, security, accessibility, or requested behavior. If an intentional simplification has a known ceiling, mark it with star-defer: and name the revisit trigger.
Every changed line should implement the request, keep the code runnable, remove something made unused by this patch, or document new behavior introduced here. If a line cannot pass that test, leave it out.
For a trivial one-line change, skip the formal plan. Still make the smallest correct edit and verify it with the cheapest useful check.
Use for coding-agent work that needs clear scope, repository-first design, minimal patches, protected user changes, and evidence-backed completion.
Review code, diffs, pull requests, or repositories for avoidable complexity under Star Guidelines. Use when the user asks what can be deleted, whether a change is over-engineered, or how to shrink a patch without losing required behavior, validation, error handling, security, or accessibility.
Use in Cursor when a coding task needs bounded scope, repository-first inspection, narrow patches, protected user changes, and concrete verification.