一键导入
check-constraints
Validate constraint compliance at any time during development.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Validate constraint compliance at any time during development.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Session initialization — run at the start of EVERY session before any other action.
Karpathy-inspired behavioural guidance for non-trivial coding, debugging, review, or refactor work. Use to surface assumptions, keep changes minimal, and define verifiable success criteria.
Manage dependency-aware multi-session workflows in agent_roadmaps/.
Orchestrate build workflows. Environment setup, compilation, and testing.
Create a new project from the repo_template. Supports Python, C++/CUDA, and Hybrid projects. Template-only skill.
Add dependencies. Poetry for Python, CPM through CMake for C++.
| name | check-constraints |
| description | Validate constraint compliance at any time during development. |
Lightweight constraint compliance check. Use at any point during development — does not require running the full test suite.
.ai/bin/agent-check-constraints
Exit 0 = no critical violations. Exit 1 = violations found.
pip install traces, .venv/ is inside the project.master, main, develop, release/*, hotfix/*).poetry.lock exists and is not stale
relative to pyproject.toml..ai/scripts/forbidden_patterns.py to detect
pip install, bare except:, eval()/exec(), mutable defaults, hardcoded secrets./pre-commit/check-constraints checks policy compliance (branch, deps, forbidden patterns).
/pre-commit additionally runs formatters, linters, type checker, and tests.
Run /check-constraints for a fast policy check; run /pre-commit before committing.