بنقرة واحدة
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.