coding-agent-guardrails
Universal code quality guardrails — file size limits, code structure, VCS discipline, and build behavior for any project
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Universal code quality guardrails — file size limits, code structure, VCS discipline, and build behavior for any project
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Android/Kotlin/Compose coding rules — modular architecture, ViewModel scope, Material 3, Compose pitfalls, strings, navigation, network safety, and build hygiene. Extends `coding` + `coding-agent-guardrails`.
Universal coding rules for any project type — error handling, testing, API design, dependency hygiene, config/secrets, logging. Extends `coding-agent-guardrails`.
Structured technical feature plan with bullet-point format, file/line references, phased implementation checklists, and per-phase test verification
Product requirements document for larger features — user-facing behavior, options, decisions, screen layouts, and open questions. Precedes the technical plan.
One-shot investigation → findings document. No state, no checklist, no phases — investigate, write the answer, stop.
Orchestrates the full agentic SDLC — PRD → Plan → Review → Implement → Verify → Review — with pluggable reviewer model, feature/sub-feature decomposition, and resumable state.
| name | coding-agent-guardrails |
| description | Universal code quality guardrails — file size limits, code structure, VCS discipline, and build behavior for any project |
| version | 0.2.0 |
| triggers | ["set up guardrails","add guardrails","/coding-agent-guardrails","/guardrails"] |
| globs | ["AGENTS.md","CLAUDE.md","GEMINI.md","agents/**"] |
Universal rules for any codebase — apply these on every file you touch.
| Class | Files | Cap | Why |
|---|---|---|---|
| Always-loaded | SKILL.md (every skill), root CLAUDE.md, root AGENTS.md, GEMINI.md | 400 | Costs context on every invocation |
| On-demand companions | FORMAT.md, SECTIONS.md, PHASES.md, GRAMMAR.md, EXAMPLES.md | 600 | Loaded only when the phase needs it |
| Templates | _template_*.md, _*_sample_*.md | none | Copied, never loaded as context |
controllers/, models/, views/ mega-directories.components/ subdirectory relative to that screen (e.g. feature/settings/components/ next to SettingsScreen).common/ (or shared/).<Name>Logic or extension file in the same package — do not inflate the original.git commit or git add without explicit user permission. Always ask before staging or committing.