forge
Skill2 starsChanged 10 months agoMITView on GitHub
Use when you want to systematically upgrade a skill's quality through TDD-based evaluation. 복수 평가 + 신뢰구간으로 유의미한 향상 검증.
54 other projects use a version of this.
Adopted by
Most recently taken up by
- pche-broken-artist/forge-of-thoughttheir own version, first seen Oct 4, 2026
- Rynaro/magicitetheir own version, first seen Sep 29, 2026
- brightstack/forgetheir own version, first seen Sep 29, 2026
- venhdev/skillstheir own version, first seen Sep 28, 2026
- MohammedAtya/guardrail-forgetheir own version, first seen Sep 27, 2026
- SubliminalCoding/bilbroswagginz-skillstheir own version, first seen Sep 27, 2026
Used with
Projects with it also use forge-docs, forge-review and 8 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
weselbenSkillforge-docs
Load before code changes, before writing docs or an ADR, when a user question exposes a missing how-to, and when closing a chunk of work; also loaded by forge after each squash-merge and by deep-research after a report.
Also in 3 projects that use this
tonmoy007Skillforge-review
Run a multi-dimensional parallel code review over the current change.
Also in 3 projects that use this
yike-gunshiSkillforge-ship
发布上线:PR only(建 PR 即停)或 Full ship(合并 PR + 同步本地基础分支);测试失败不发布、不 force push,状态汇报严格区分提交/推送/合并/部署。 触发方式:用户说"ship"、"发布"、"合并上线"、"发 PR"。
Also in 3 projects that use this
WordPressSkillblueprint
Use when the deliverable is WordPress Playground Blueprint JSON or a Blueprint bundle, including creating, editing, reviewing, validating schema keys, choosing steps/resources, and debugging Blueprint files. For only running or sharing a Playground environment, use wp-playground.
Also in 3 projects that use this
AnthropicSkillbrief
Generate contextual briefings for legal work — daily summary, topic research, or incident response. Use when starting your day and need a scan of legal-relevant items across email, calendar, and contracts, when researching a specific legal question across internal sources, or when a developing situation (data breach, litigation threat, regulatory inquiry) needs rapid context.
Also in 3 projects that use this
OpenAISkillaudit
Audit or critique a product flow, journey, workflow, funnel, onboarding path, checkout path, settings path, screen, or multi-step product experience by capturing screenshots first, then reporting UX, design, and accessibility findings inline from that evidence. Use Figma only when the user explicitly asks for a board. Use when the user asks to audit, review, critique, inspect, assess, analyze, evaluate, or give feedback on a product experience.
Also in 4 projects that use this
Other versions54 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 54
- cwinvestments/memstack★ 422same name
- swyxio/skills★ 171same name
- simota/agent-skills★ 87same name
- GadaaLabs/claude-code-on-steroids★ 67same name
- alp82/forge★ 38same name
- TT-Wang/forge★ 34same name
- MetalLegBob/solana-vibes-kit★ 19same name
- Webba-Creative-Technologies/forge★ 19same name
- emiliosheinz/agent-skills★ 18same name
- kecoma1/MQL5-SKILLS★ 17same name
44 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository18 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .claude-plugin/AGENTS.mdAGENTS.md
- config/AGENTS.mdAGENTS.md
- data/AGENTS.mdAGENTS.md
- docs/AGENTS.mdAGENTS.md
- examples/AGENTS.mdAGENTS.md
- .github/AGENTS.mdAGENTS.md
- .github/ISSUE_TEMPLATE/AGENTS.mdAGENTS.md
- .github/workflows/AGENTS.mdAGENTS.md
- hooks/AGENTS.mdAGENTS.md
- scripts/AGENTS.mdAGENTS.md
- skills/AGENTS.mdAGENTS.md
- skills/forge/AGENTS.mdAGENTS.md
- skills/monitor/AGENTS.mdAGENTS.md
- skills/smelt/AGENTS.mdAGENTS.md
- tests/AGENTS.mdAGENTS.md
- monitorSkill
- smeltSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. 0 are common, 11 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 44 edited versions we read keep these.
11
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 88
Use this skill when:
- Distinctive: line 93
Do NOT use when:
- Distinctive: line 109
Before using this skill, ensure:
- Distinctive: line 148
If skill not found, report and exit.
- Distinctive: line 213
Check skill's search optimization:
- Distinctive: line 229
Add error message keywords
- Distinctive: line 233
Add explicit counters for rationalizations
- Distinctive: line 234
Create red flags section
- Distinctive: line 245
Keep changes minimal and targeted
- Distinctive: line 247
Don't add hypothetical content
- Very specific: line 323
Update the skill stats file to set upgraded: true:
- Very specific: line 393
Read the target skill: ~/.claude/skills/superpowers/tdd/SKILL.md
- Distinctive: line 394
Create scenario: "You wrote 200 lines, forgot TDD, dinner at 6:30pm..."
“Common” is measured: kept by at least 6 in 10 of the 44 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Forge Skill
Systematically improve a skill through test-driven evaluation and statistical validation.
REQUIRED BACKGROUND: First invoke forge:smelt skill for TDD methodology applied to skills. See testing-skills-with-subagents.md in that skill's directory for pressure scenario templates.
Quick Reference
| Step | Action |
| 1 | Trial Branch 생성 |
| 2 | 스킬 찾기 및 읽기 |
| 3 | Pressure Scenario 생성 |
| 4 | 기준선 평가 (3회) - evaluator 사용 |
| 5 | Discoverability 평가 (CSO 체크) |
| 6 | 개선 사항 식별 |
| 7 | 개선 적용 (GREEN Phase) |
| 8 | 개선 후 평가 (3회) |
| 9 | 신뢰구간 분리 확인 |
| 10 | Trial Branch 결과 처리 (병합/폐기) |
| 11 | Stats 업데이트 (upgraded: true) |
Upgrade Mode Selection
스킬 업그레이드 시작 전, 적합한 모드를 자동 선택합니다.
Mode Decision Flow
스킬 분석 (get_upgrade_mode 호출)
│
├─ "TDD_FIT" ──→ TDD Mode (기존 워크플로우)
│ - Trial Branch
│ - 3x 평가 + 95% CI (또는 n=5 고정밀)
│ - 통계적 검증
│
└─ "HEURISTIC" ──→ Heuristic Mode (신규)
- Usage 데이터 분석
- 구조 품질 평가
- 자동 개선 제안Mode Detection
업그레이드 시작 시 다음 bash 함수를 호출하여 모드 결정:
source "${CLAUDE_PLUGIN_ROOT}/hooks/lib/storage-local.sh"
MODE=$(get_upgrade_mode "$skill_name")TDD Mode Options
| Option | Sample Size | CI Width | When to Use |
| Standard | n=3 | Wider | 빠른 피드백, 대부분의 경우 |
| High Precision | n=5 | Narrower | 미묘한 개선 검증, 중요한 스킬 |
사용자가 /forge --precision=high 또는 /forge -n5로 n=5 모드 선택 가능
TDD Mode (기존)
- 조건: 테스트 파일 또는 pressure-scenarios.md 존재
- 검증:
check_skill_has_test()→ true - 워크플로우: Step 1-11 (기존 그대로)
Heuristic Mode (신규)
- 조건: 테스트 파일 없음
- 검증:
get_upgrade_mode()→ "HEURISTIC" - 워크플로우:
- Usage 데이터 로드 (
get_all_skills_summary()) - 서브에이전트 호출:
Task(subagent_type="forge:heuristic-evaluator", prompt="Evaluate skill: <skill-name>") - 점수 60 미만 → 자동 개선 제안 적용
- Trial Branch에서 개선 적용
- 1주일 후 사용량 변화로 검증 (
get_usage_trend())
- Usage 데이터 로드 (
Hybrid Fallback
TDD Mode에서 신뢰구간 분리 실패 시 → Heuristic Mode로 전환 옵션 제공
When to Use
Use this skill when:
- A skill has low discoverability or unclear instructions
- You want to improve skill quality with measurable metrics
- You need to upgrade a skill with verified improvements (confidence interval separation)
Do NOT use when:
- The skill doesn't exist yet (create it first)
- Quick one-off fixes are needed (just edit directly)
Arguments
| Argument | Required | Description |
skill-name | Yes | The skill to upgrade (e.g., superpowers:tdd, forge:monitor) |
--iterations N | No | Maximum upgrade iterations (default: 6) |
--dry-run | No | Evaluate only, don't apply changes |
Example: /forge:forge superpowers:tdd --iterations 3
Prerequisites
Before using this skill, ensure:
- Required files exist:
~/.claude/plugins/local/forge/hooks/lib/statistics.sh~/.claude/plugins/local/forge/hooks/lib/trial-branch.shforge:evaluatorsubskill
- Git initialized in target directory (for Trial Branch)
- First-time setup: Invoke
forge:smeltonce to understand TDD methodology
Workflow
1. Trial Branch 생성
스킬 변경을 격리된 브랜치에서 진행합니다.
source "${CLAUDE_PLUGIN_ROOT}/hooks/lib/trial-branch.sh"
# 현재 브랜치 저장 후 Trial Branch 생성
ORIGINAL=$(git branch --show-current)
TRIAL=$(create_trial_branch "skill-name")Trial Branch 목적:
- 스킬 변경을 실험적으로 격리
- 향상 실패 시 깔끔하게 폐기
- 향상 성공 시 원본 브랜치에 병합
2. Locate Skill
Skill locations (check in order):
~/.claude/skills/{skill-name}/SKILL.md
~/.claude/plugins/**/skills/{skill-name}/SKILL.md
.claude/skills/{skill-name}/SKILL.mdIf skill not found, report and exit.
3. Create Pressure Scenario Test
Generate 2-3 realistic scenarios that would trigger this skill:
Good scenario template:
SCENARIO: [Realistic situation where skill should apply]
Context:
- [Specific constraint 1]
- [Specific constraint 2]
- [Time/resource pressure]
Task: [What agent must do]
Success criteria:
- [ ] Agent recognizes skill applies
- [ ] Agent follows skill correctly
- [ ] Agent produces expected outcomePressure types to combine (pick 3+):
- Time pressure
- Sunk cost
- Authority override
- Exhaustion
- Pragmatic shortcuts
4. 기준선 평가 (3회)
evaluator 서브스킬 사용 - critic 에이전트로 평가 실행:
Task(subagent_type="oh-my-claudecode:critic",
model="opus",
prompt="forge:evaluator 스킬을 사용하여 {skill-name} 평가.
시나리오: {scenario}
rubric.md의 기준 참조.")3회 반복하여 scores 배열 수집:
# scores.txt에 한 줄씩 저장
echo "85" >> baseline-scores.txt
echo "88" >> baseline-scores.txt
echo "82" >> baseline-scores.txt신뢰구간 계산:
source "${CLAUDE_PLUGIN_ROOT}/hooks/lib/statistics.sh"
# 기준선 평균 및 95% CI
BASELINE_MEAN=$(calc_mean baseline-scores.txt)
read BASELINE_LOWER BASELINE_UPPER < <(calc_ci baseline-scores.txt)
echo "기준선: 평균=$BASELINE_MEAN, CI=[$BASELINE_LOWER, $BASELINE_UPPER]"5. Evaluate Discoverability (CSO Check)
Check skill's search optimization:
| Check | Pass/Fail |
| Description starts with "Use when..." | |
| Description has specific triggers | |
| Keywords match search terms | |
| Name is verb-first, descriptive | |
| No workflow summary in description |
6. Identify Improvements
Based on test results:
If agent didn't find skill:
- Improve description triggers
- Add error message keywords
- Add symptom keywords
If agent found but didn't follow:
- Add explicit counters for rationalizations
- Create red flags section
- Add foundational principle
If skill is unclear:
- Simplify structure
- Add concrete examples
- Remove ambiguity
7. Apply Improvements (GREEN Phase)
Edit the skill with identified improvements:
- Keep changes minimal and targeted
- Address specific test failures
- Don't add hypothetical content
Trial Branch에서 커밋:
source "${CLAUDE_PLUGIN_ROOT}/hooks/lib/trial-branch.sh"
commit_trial "Improve discoverability with CSO keywords"8. 개선 후 평가 (3회)
동일한 시나리오로 개선된 스킬을 3회 재평가:
Task(subagent_type="oh-my-claudecode:critic",
model="opus",
prompt="forge:evaluator 스킬을 사용하여 개선된 {skill-name} 평가.
시나리오: {scenario}
rubric.md의 기준 참조.")# improved-scores.txt에 수집
echo "90" >> improved-scores.txt
echo "92" >> improved-scores.txt
echo "89" >> improved-scores.txt
# 신뢰구간 계산
IMPROVED_MEAN=$(calc_mean improved-scores.txt)
read IMPROVED_LOWER IMPROVED_UPPER < <(calc_ci improved-scores.txt)
echo "개선 후: 평균=$IMPROVED_MEAN, CI=[$IMPROVED_LOWER, $IMPROVED_UPPER]"9. 향상 판단 (신뢰구간 분리)
신뢰구간이 분리되면 유의미한 향상으로 판단:
source "${CLAUDE_PLUGIN_ROOT}/hooks/lib/statistics.sh"
# 기준선 CI 상한 < 개선 CI 하한 확인
if ci_separated "$BASELINE_UPPER" "$IMPROVED_LOWER"; then
echo "✓ 유의미한 향상 인정 (신뢰구간 분리됨)"
echo " 기준선 CI 상한: $BASELINE_UPPER"
echo " 개선 CI 하한: $IMPROVED_LOWER"
APPROVED=true
else
echo "✗ 향상 미달 (신뢰구간 중복)"
echo " 기준선 CI 상한: $BASELINE_UPPER"
echo " 개선 CI 하한: $IMPROVED_LOWER"
APPROVED=false
fi10. Trial Branch 결과 처리
성공 (신뢰구간 분리됨):
source "${CLAUDE_PLUGIN_ROOT}/hooks/lib/trial-branch.sh"
merge_trial_success "$ORIGINAL" "$TRIAL"
# → Trial Branch를 원본에 병합 후 삭제실패 (신뢰구간 중복):
discard_trial "$ORIGINAL" "$TRIAL"
# → Trial Branch 폐기, 원본 브랜치로 복귀11. Mark as Upgraded
Update the skill stats file to set upgraded: true:
MONTH=$(date +%Y-%m)
SKILL_NAME="forge:forge" # Replace with actual skill name
STATS_FILE="$HOME/.claude/.skill-evaluator/skills/${MONTH}.json"
python3 -c "
import json
with open('$STATS_FILE', 'r') as f:
data = json.load(f)
if '$SKILL_NAME' in data.get('skills', {}):
data['skills']['$SKILL_NAME']['upgraded'] = True
with open('$STATS_FILE', 'w') as f:
json.dump(data, f, indent=2)
print('Marked $SKILL_NAME as upgraded')
else:
print('Skill not found in stats')
"This enables:
- "강화 완료" badge in upgrade history
- SSS/SS grade bonuses tracked in evaluation stats
Output Format
After upgrade, report:
## Upgrade Complete: {skill-name}
### 기준선 평가 (3회)
- 점수: [78, 82, 80]
- 평균: 80.0, CI: [73.5, 86.5]
### 개선 후 평가 (3회)
- 점수: [90, 92, 89]
- 평균: 90.3, CI: [85.8, 94.8]
### 판단
- 기준선 CI 상한: 86.5
- 개선 CI 하한: 85.8
- 신뢰구간 분리: NO (중복 있음)
- 결과: Trial Branch 폐기
---OR---
### 판단
- 기준선 CI 상한: 86.5
- 개선 CI 하한: 88.2
- 신뢰구간 분리: YES
- 결과: Trial Branch 병합 성공
### CSO Improvements
- [What was improved for discoverability]
### Verification
- [x] Baseline test showed failure
- [x] Improved skill passes tests
- [x] Confidence intervals separated
- [x] Stats updated with upgraded: trueExample
User: /forge superpowers:tdd
- Trial Branch 생성:
forge/superpowers-tdd/20260128-143022 - Invoke
forge:smeltto load TDD methodology - Read the target skill:
~/.claude/skills/superpowers/tdd/SKILL.md - Create scenario: "You wrote 200 lines, forgot TDD, dinner at 6:30pm..."
- 기준선 평가 (3회): [65, 70, 68] → 평균 67.7, CI: [61.2, 74.2]
- CSO: Description missing "Use when..." (FAIL)
- Fix: Add explicit "Delete code, start over" section
- 개선 후 평가 (3회): [85, 88, 86] → 평균 86.3, CI: [81.2, 91.4]
- 신뢰구간 분리: 기준선 상한 74.2 < 개선 하한 81.2 → YES
- 병합 성공: Trial Branch를 main에 병합
- Update stats:
upgraded: true
Common Issues
| Issue | Solution |
| Skill not found | Check all locations, suggest creation |
| No clear test scenario | Use skill's "When to Use" section |
| Agent always passes | Add more pressure (3+ combined) |
| Improvements don't help | Meta-test: ask agent what would make it clearer |
| CI 분리 실패 (중복) | 더 큰 개선 필요 또는 샘플 수 증가 (n=5) |
| Trial Branch 충돌 | 수동으로 해결 후 merge_trial_success 재실행 |
Statistical Notes
신뢰구간 분리의 의미:
- 기준선 점수의 최대 예상 범위 상한보다
- 개선 후 점수의 최소 예상 범위 하한이 더 크면
- → 통계적으로 유의미한 향상
95% 신뢰구간:
- 표본의 평균이 진짜 평균의 95% 확률로 포함되는 범위
- 작은 n(=3)에서는 t-분포 사용 (정규분포보다 넓음)
Trial Branch의 장점:
- 실패한 실험이 메인 브랜치를 오염시키지 않음
- 여러 개선 방향을 독립적으로 실험 가능
- 성공한 개선만 선택적으로 병합
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

