원클릭으로
hook-author
Author a new git or runtime hook with a parity test to prove it behaves identically across both runtime surfaces (OpenCode/Claude).
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Author a new git or runtime hook with a parity test to prove it behaves identically across both runtime surfaces (OpenCode/Claude).
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Keep commits atomic — split a mixed change set into scoped, reviewable commits.
The one-time procedure to take an exported project to live — understand it, confirm the name/goal/stack with the user, run the deterministic `aspis bootstrap`, enrich the judgment files (AGENTS.md, ARCHITECTURE, context), verify, and let the package self-clean. Followed by the bootstrap agent.
Keep per-subsystem architectural intent current through the planning loop — read before designing, record an impact report on change, confirm with the user, apply a dated update, and verify the build against approved intent.
Audit a plan's task dependency graph for structural integrity — circular dependencies, missing prerequisites, orphan tasks, and dependency classification (hard/soft/warning). Produces a pass/warn/fail audit report per dependency so planners catch graph errors before build starts.
Every editing agent should start on a clean working tree so parallel work never collides.
Verify hooks ran, no secrets, protected paths untouched, and commit message valid before committing. Owned by the reviewer.
| name | hook-author |
| description | Author a new git or runtime hook with a parity test to prove it behaves identically across both runtime surfaces (OpenCode/Claude). |
Author a new hook that works correctly on both the git surface AND the runtime tool surface from a single shared implementation. The parity test proves the hook catches the same violations, produces the same messages, and respects the same enforcement mode regardless of which surface triggered it.
.aspis/scripts/hooks/
— this is the shared core. Per R-006, never copy logic between surfaces..git/hooks/) that
imports the shared module.PreToolUse hook) that imports the SAME shared module. No second copy.warn for pre-commit (auto-fixes, non-blocking),
block for runtime tools (hard wall). Read the mode from config, not from
the hook body.hooks.yaml so the system knows it exists..aspis/scripts/hooks/.hooks.yaml registration.ASPIS_ENFORCEMENT env var override.