Pre-action boundary checking — validates agent tool calls against declared capabilities and task contracts
日本語の概要は準備中です。原文の説明を表示しています。
Pre-generation architecture check — detect R006 separation-of-concerns and compilation metaphor violations before code generation begins
インストール方法を見るインストールする前に、エージェントに与えられる指示の中身を確認できます。
AASM-inspired pre-generation architecture guard. Detects design violations before code generation (the "pre-compile lint" phase), complementing adversarial-review and deep-verify which operate post-generation.
This skill fills the PRE-generation gap in the verification pipeline:
| Phase | Skill | When |
|---|---|---|
| Pre-generation | pre-generation-arch-check | Before code is written |
| Post-generation | adversarial-review | After code is written |
| Post-generation | deep-verify | After changes are committed |
Inspired by Contexty's AASM (AI Anti-pattern Severity Matrix) mechanism. Detects when a requested change might violate:
Check for each of the following anti-patterns against the request summary and target paths:
An agent file (.claude/agents/*.md) body contains detailed step-by-step instructions, scripts, or workflow logic that belongs in a skill file.
.claude/skills/{name}/SKILL.md, reference from agent skills: frontmatterA skill file contains agent configuration fields (model:, tools:, memory:, permissionMode:).
.claude/agents/{name}.md; keep skill focused on instructionsA skill file contains reference documentation, best-practices tutorials, or conceptual explanations that belong in guides/.
guides/{topic}/, link from skillA single atomic change spans two or more of: .claude/agents/, .claude/skills/, guides/ — without routing through mgr-creator.
An implementation step would have the orchestrator (main conversation) directly write or edit files, bypassing subagent delegation.
Rules (.claude/rules/) are being modified in the same atomic change as source code or agent/skill files.
.claude/rules/*.md and any code or .claude/agents/ or .claude/skills/ filesWhen no violations are detected:
[ARCH-CHECK] No violations detected — proceed with generation
When violations are detected:
[ARCH-WARNING] {count} potential violation(s) detected:
├── {pattern-name} ({severity}): {description}
│ └── Suggestion: {fix}
├── {pattern-name} ({severity}): {description}
│ └── Suggestion: {fix}
| Severity | Action |
|---|---|
| WARN | Advisory — proceed with caution, note in generation plan |
| BLOCK | Halt — requires architectural redesign before proceeding |
BLOCK violations must be resolved before generation continues. WARN violations are logged and surfaced to the user but do not halt execution (consistent with R021 advisory-first enforcement model).
Auto-invoked at structured-dev-cycle Phase 1 (planning phase) before any file generation begins.
This skill is advisory only — it does NOT hard-block execution. This is consistent with R021's advisory-first enforcement model. Future promotion to a PreToolUse hook is possible if violation rates warrant escalation.
Invocation pattern:
[structured-dev-cycle Phase 1]
→ pre-generation-arch-check
→ returns [ARCH-CHECK] or [ARCH-WARNING]
→ continue to Phase 2 (generation) with findings surfaced
.claude/rules/MUST-agent-design.md (R006) — separation of concerns.claude/rules/MUST-orchestrator-coordination.md (R010) — protected paths and delegation.claude/skills/adversarial-review/ — post-generation security counterpart.claude/skills/deep-verify/ — post-generation quality counterpartまだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Pre-action boundary checking — validates agent tool calls against declared capabilities and task contracts
日本語の概要は準備中です。原文の説明を表示しています。
Auto-detect project context and optimize harness — deactivate unused agents/skills, suggest missing experts, generate project profile
日本語の概要は準備中です。原文の説明を表示しています。
Adversarial code review using attacker mindset — trust boundary, attack surface, business logic, and defense evaluation
日本語の概要は準備中です。原文の説明を表示しています。
Apache Airflow best practices for DAG authoring, testing, and production deployment
日本語の概要は準備中です。原文の説明を表示しています。
Alembic migration patterns for naming conventions, safety checks, expand-contract, env.py configuration, and CI integration
日本語の概要は準備中です。原文の説明を表示しています。
Pre-routing ambiguity analysis — scores request clarity and asks clarifying questions when needed (inspired by ouroboros)
日本語の概要は準備中です。原文の説明を表示しています。