Distill a top-level principle into knowledge/rules.md. Trigger when user says 'add rule', 'new principle', 'enforce this', '@agent', or wants to codify an architectural decision, workflow principle, or behavioral guideline into persistent rules.
설치
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
Distill a top-level principle into knowledge/rules.md. Trigger when user says 'add rule', 'new principle', 'enforce this', '@agent', or wants to codify an architectural decision, workflow principle, or behavioral guideline into persistent rules.
argument-hint
[principle to capture]
disable-model-invocation
true
Trigger Examples
"@agent 所有 JSON 操作必须用 jq"
"add this as a permanent rule"
"enforce: never skip tests"
"把这个原则写进规则"
"@agent submodule 修改必须走 worktree"
Agent — Distill Top-Level Principle
Capture a principle into knowledge/rules.md as a staged rule.
Input
$ARGUMENTS
Process
If no input provided, ask user: "What principle should I capture?"