一键导入
copilot-conventions
Cross-copilot portable conventions: read before write, minimal changes, git discipline, project structure, and priority rules.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Cross-copilot portable conventions: read before write, minimal changes, git discipline, project structure, and priority rules.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Multi-agent delegation rules, three-phase workflow (Plan/Build/Review), model selection, collaboration gates, and Ralph Loop integration.
Autonomous build driver after SDD spec approval: phase-scoped headless build sessions, driver-owned commits, cross-provider review gates, milestone pauses, and fail-closed escalation — under explicit opt-in autonomy profiles.
When and how to ask clarifying questions before implementing. Data model review gate and ambiguity resolution rules.
Quality gates, prohibited patterns, verification discipline, and self-audit rules for all code generation and review sessions.
Copyright header rules for generated source files. Applies the company name from providers.toml to new files.
Derive a unique, domain-fit design direction and enforce design-token + anti-slop discipline. Read/author DESIGN.md before building any UI; override framework defaults so output is bespoke by construction, not generic.
| name | copilot-conventions |
| description | Cross-copilot portable conventions: read before write, minimal changes, git discipline, project structure, and priority rules. |
Shared rules that apply whether using Claude Code, GitHub Copilot, Cursor, or local LLMs. These conventions ensure consistent behaviour regardless of which AI tool is driving.
doc_internal/ before proceeding.git status and git diff and present the summary to the user before staging and committing. The user must see what is being committed, especially for multi-file changes.When setting up a new project, prefer this layout:
/src — application source
/tests — automated tests
/doc_internal — internal reference docs (not shipped)
ARCHITECTURE.md — system design & ADRs
OPERATIONAL_RULES.md — project-specific coding rules
CONTEXT.md — session context summaries
HISTORY.md — timestamped session log
/specs — SDD artifacts and lessons learned
lessons-learned.md — cross-project knowledge base
.gitignore
doc_internal/ should be in .gitignore for private projects or kept checked in for team-shared context. specs/ should always be committed — it contains SDD artifacts that bridge Plan and Build phases across sessions.
All design/plan artifacts must reside within the project directory so that any copilot session can discover them. Plans stored outside the project (e.g., ~/.claude/plans/) are session-local and invisible to new sessions or other tools.
specs/<feature-id>/plan.md (with SDD frontmatter) for feature work.doc_internal/plans/.Write planning documents to disk as you produce them — never leave them only in conversation context.
specs/ or doc_internal/ immediately — do not defer to "later" or assume the conversation will persist.spec.md, plan.md, and tasks.md to specs/<feature-id>/ before moving on to other work.