一键导入
evolve
Cluster related instincts into skills, commands, or agents
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Cluster related instincts into skills, commands, or agents
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Generate changelog entries following Keep a Changelog format
Generate a well-structured pull request with summary and test plan
Export instincts for sharing with teammates or backup
Import instincts from teammates or community collections
View learned instincts grouped by domain with confidence levels
Clean up project files, remove cruft, and organize codebase
| name | evolve |
| description | Cluster related instincts into skills, commands, or agents |
| user-invocable | true |
Analyze learned instincts and cluster related ones into higher-level constructs: skills, commands, or agents.
$ARGUMENTS — Optional: domain to evolve, or "analyze" for dry-runGroup instincts by domain and identify clusters:
## Cluster Analysis
### Cluster: TypeScript Code Style (5 instincts, avg confidence: 0.7)
- prefer-const-assertions (0.8)
- use-discriminated-unions (0.7)
- branded-types-for-ids (0.6)
- no-enum-use-const (0.7)
- type-imports-separate (0.7)
→ Candidate for: **Skill** (coding reference)
### Cluster: Input Validation (3 instincts, avg confidence: 0.8)
- validate-inputs-with-zod (0.9)
- check-auth-on-endpoints (0.8)
- sanitize-html-output (0.7)
→ Candidate for: **Rule** (always-enforce constraint)
### Cluster: Database Review (4 instincts, avg confidence: 0.6)
- check-n-plus-one (0.7)
- use-indexes-for-where (0.6)
- paginate-list-endpoints (0.5)
- use-transactions (0.6)
→ Candidate for: **Agent prompt enhancement** (add to database-reviewer)
| Target | Min Instincts | Min Avg Confidence | Criteria |
|---|---|---|---|
| Skill | 3+ | 0.5 | Related workflow patterns |
| Rule | 3+ | 0.7 | Hard constraints (always/never) |
| Command | 3+ | 0.5 | User-invoked workflow |
| Agent enhancement | 4+ | 0.5 | Domain-specific expertise |
For approved clusters, generate the appropriate construct:
Skill generation:
---
name: typescript-style-evolved
description: |
Evolved from 5 learned instincts about TypeScript coding style.
Covers const assertions, discriminated unions, branded types.
---
# TypeScript Style Patterns (Learned)
[Content synthesized from instinct evidence]
Generated constructs are saved to:
~/.claude/evolved/
skills/typescript-style-evolved/SKILL.md
rules/input-validation-evolved.md
## Evolution Report
| Cluster | Size | Confidence | Evolved To | Status |
|---------|------|-----------|-----------|--------|
| TS Code Style | 5 | 0.7 | Skill | Created |
| Input Validation | 3 | 0.8 | Rule | Created |
| Database Review | 4 | 0.6 | Agent enhancement | Suggested |
### Next Steps
- Review generated files in `~/.claude/evolved/`
- Copy approved files to appropriate directories
- Run `/instinct-status` to see remaining unclustered instincts
Use /evolve analyze to see cluster analysis without generating files.