用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/skills-registry --skill skill-forge命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | skill-forge |
| description | | Use when this capability is needed. |
This is the flywheel that makes the skill library self-improving.
Trigger when:
Do NOT trigger for:
Capture what was learned:
Discovery: [One sentence summary]
Context: [What task/problem led to this]
Why non-obvious: [Why someone else would miss this]
Generalizable: [YES/NO - is this useful beyond this specific case?]
If not generalizable, stop - add to breadcrumbs instead, not a skill.
Generalize from the specific case:
Specific case: [What happened here]
General pattern: [The reusable insight]
Triggers: [When should future Claude activate this]
Create the skill structure:
---
name: [kebab-case-name]
description: |
[2-3 sentence description that would trigger activation]
allowed-tools: |
[appropriate tools]
---
# [Skill Name]
<purpose>
[Why this skill exists - the problem it prevents]
</purpose>
## When To Activate
Trigger when:
- [Condition 1]
- [Condition 2]
## Instructions
### Step 1: [First step]
[Instructions]
### Step 2: [Second step]
[Instructions]
## NEVER
- [Anti-pattern 1]
## ALWAYS
- [Required behaviour 1]
## Examples
### Example 1: [Scenario]
[Concrete example]
<failed-attempts>
What DOESN'T work:
- [Failed approach and why]
</failed-attempts>
## Origin
Forged from: [Brief description of the session/problem that spawned this]
Create the skill directory and file:
skills/[skill-name]/SKILL.md
Skill forged: [skill-name]
Location: skills/[skill-name]/SKILL.md
Trigger: [When it will activate]
This skill will now be available in future sessions.
Before forging, verify:
| Check | Requirement | |-------|-------------| | Generalizable | Useful beyond this specific project | | Non-obvious | Not something Claude would naturally do | | Actionable | Clear instructions, not just "be careful" | | Triggered | Clear conditions for when to activate | | Distinct | Not duplicate of existing skill |<failed-attempts> section (failures teach)<failed-attempts> documenting what doesn't workDuring debugging, Claude discovers that a React hook was causing infinite re-renders because of object reference comparison.
Discovery: useEffect with object dependency causes infinite loops
Context: Debugging React component that kept re-rendering
Why non-obvious: Object looks the same but reference changes each render
Generalizable: YES - common React gotcha
Forging skill: react-dependency-check
Resulting skill would include:
Claude discovers that an API returns different formats based on count (single object vs array).
Discovery: API returns object for 1 result, array for multiple
Context: Parsing API response failed on single-result queries
Why non-obvious: Only manifests with exactly one result
Generalizable: YES - common API pattern
Forging skill: api-response-normalization
Claude fixes a typo in a config file.
Discovery: Config had typo in key name
Generalizable: NO - specific to this project
[Not forging - adding to breadcrumbs instead]
Session 1: Struggle with problem X
↓
Solve it after 30 min
↓
Forge skill "handle-X"
↓
Session 2: Encounter similar problem
↓
skill-gate activates "handle-X"
↓
Solved in 2 min
↓
Time saved: 28 min
↓
Compound over hundreds of sessions
Every session, Claude learns things. Most of that knowledge evaporates when the session ends. Skill-forge captures it.
The goal isn't to document everything - it's to capture the non-obvious wins that would otherwise need to be rediscovered. Each forged skill is future time saved.
Build the library. Close the loop. Make the system smarter over time.
Converted and distributed by TomeVault — claim your Tome and manage your conversions.