new-policy
npx skills add https://github.com/ywj3493/claude-skills --skill new-policy
Agent 安装分布
Skill 文档
new-policy
Adds a new policy document to the project following the standard format,
with an automatic Korean translation in docs/dev/policy/.
When to Use
- User says “add a policy”, “create a policy for X”, “ì ì ì± ì¶ê°”, “ê·ì¹ ë§ë¤ì´ì¤”
- A new convention needs to be formalized (branching strategy, review process, etc.)
- The user describes a working rule that isn’t yet written down
Step-by-Step Instructions
Step 1: Gather Information
Ask the user (or infer from context):
- Policy name â becomes the filename in kebab-case
- Example: “branching strategy” â
branching-strategy.md
- Example: “branching strategy” â
- Purpose â what does this policy govern and why?
- Rules â the actual rules (numbered or bulleted)
- Exceptions â when, if ever, the rules may be bypassed
If the user has described the policy in their message, draft the content and ask for confirmation before writing.
Step 2: Create the English Policy Document
Create docs/policy/<policy-name>.md:
# <Policy Title>
## Purpose
<What this policy governs and why it exists>
## Rules
1. <Rule 1>
2. <Rule 2>
## Exceptions
<When the rules may be bypassed, or "None" if no exceptions apply>
## Revision History
- <YYYY-MM-DD>: Initial version
Step 3: Create the Korean Mirror
Create docs/dev/policy/<policy-name>.ko.md with a full Korean translation.
Translation rules (same as sync-dev):
- All prose and headings â Korean
- Code blocks, file paths, technical identifiers â keep in English
- Checkbox and list markers â keep as-is
# <ì ì±
íêµì´ ì 목>
## 목ì
<ì´ ì ì±
ì´ ë¤ë£¨ë ë´ì©ê³¼ ì¡´ì¬ ì´ì >
## ê·ì¹
1. <ê·ì¹ 1>
2. <ê·ì¹ 2>
## ìì¸
<ê·ì¹ì ì°íí ì ìë ê²½ì°, ëë "ìì">
## ê°ì ì´ë ¥
- <YYYY-MM-DD>: ìµì´ ìì±
Step 4: Reference in policy.md
After creating the files, remind the user:
Consider adding an @-reference to this new policy in
docs/policy/policy.mdunder the “Related Policy Files” section:- [@docs/policy/<policy-name>.md](docs/policy/<policy-name>.md) â <description>
Do not automatically edit policy.md â show the suggested line and let the
user decide.
Step 5: Confirm and Report
Tell the user:
Created:
docs/policy/<policy-name>.mddocs/dev/policy/<policy-name>.ko.mdAdd an @-reference to
docs/policy/policy.mdif appropriate.