一键导入
stack-constraints
Stack version pinning and dependency compatibility guards. Prevents silent version drift across project boundaries.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Stack version pinning and dependency compatibility guards. Prevents silent version drift across project boundaries.
用 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.
Cross-copilot portable conventions: read before write, minimal changes, git discipline, project structure, and priority rules.
Copyright header rules for generated source files. Applies the company name from providers.toml to new files.
| name | stack-constraints |
| description | Stack version pinning and dependency compatibility guards. Prevents silent version drift across project boundaries. |
Rules for managing dependency versions and technology choices across all project types.
When starting a new project, prefer stable, well-documented versions over bleeding-edge:
Check package documentation for "stable" vs "experimental" badges before adopting.
When agents create code requiring new packages:
Downgrade from a newer version to a stable one when:
Document the version pin and the reason in the project CLAUDE.md or a DECISIONS.md so future contributors know why.
Add version constraints relevant to your project in the project-level CLAUDE.md. For example:
## Stack Constraints
- ORM: Prisma 6.x (7.x has breaking CLI changes as of Feb 2026)
- Runtime: Node 20 LTS (not 22 — some deps don't support it yet)
- Framework: Next.js 14 stable (not 15 canary)
This keeps global rules generic while allowing each project to pin its own versions.