agentleFS
morodomimorodomi/dev-crew/skills/evolve/SKILL.md

evolve

Skill1 starsChanged 27 days agoMITView on GitHub

蓄積された instinct をクラスタリングし、スキル/エージェント定義を自動生成する。「evolve」「スキル進化」で起動。

41 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use instinct-export, instinct-import and 10 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.
  • TheKREATORSSkill

    instinct-export

    Export instincts from project/global scope to a file

    Also in 4 projects that use this

  • TheKREATORSSkill

    instinct-import

    Import instincts from file or URL into project/global scope

    Also in 4 projects that use this

  • AWSSkill

    map

    Map verified service capabilities against customer-provided control framework and threat model. Produces mapping-results.json, controls-catalog.md, and framework-mapping.md. Supports pluggable frameworks: CCMv4, NIST 800-53, CIS Benchmarks, ISO 27001, etc. Split into 4 focused sub-skills for better accuracy; this skill orchestrates them.

    Also in 5 projects that use this

  • diego-tobalinaSkill

    build-fix

    Fix build and compilation errors systematically. Run when build fails.

    Also in 3 projects that use this

  • launch52-aiSkill

    skill-create

    Create and validate Claude Code skills with proper structure, checklists, and validation scripts. Use when creating a new skill, auditing existing skills, or ensuring skills meet quality standards. Generates complete skill scaffolds with SKILL.md, check scripts, guides, and templates.

    Also in 3 projects that use this

  • qtzx06Skill

    eval

    Evaluate trained YOLO model accuracy with mAP metrics and per-class error analysis. Identifies failure cases for targeted improvement. Use after training.

    Also in 5 projects that use this

  • +1 more from TheKREATORS

The file

Files
SKILL.md

Evolve - Instinct からスキル/エージェント進化

蓄積された instinct をクラスタリングし、再利用可能なスキルまたはエージェントに進化させる。

前提

  • learn スキルで instinct が蓄積されていること
  • ${CLAUDE_PLUGIN_DATA}/instincts/ に JSONL ファイルが存在すること

実行手順

Step 1: instinct 読み込み + Empty State チェック

wc -l ${CLAUDE_PLUGIN_DATA}/instincts/*.jsonl 2>/dev/null

instinct が不足している場合:

現在 X 件の instinct が蓄積されています。
クラスタリングには同一 domain で 3件以上の類似パターンが必要です。
learn を継続して instinct を蓄積してください。

0件の場合: 「instinct が蓄積されていません。まず learn を実行してください。」

Step 2: クラスタリング (ルールベース)

以下のルールで類似 instinct をグルーピング:

  1. domain 一致: 同一 domain フィールドの instinct を抽出
  2. trigger キーワード類似: trigger 内のキーワードトークン重複率 > 50%
  3. 閾値: 3件以上のグループをクラスタとして採用(ブートストラップ期間: 全 instinct 10件未満の場合は 2件で採用)
  4. 品質条件: グループ内全件が confidence >= 0.5

Step 3: ユーザー承認

クラスタごとにプレビューを表示し、AskUserQuestion で確認:

クラスタ: 「PHPStan 型エラー対応」(3件の instinct)
- inst-20260213-001: array access null check
- inst-20260214-003: return type declaration
- inst-20260215-002: strict_types annotation

このクラスタからスキルを生成しますか?

選択肢: 生成する / スキル名を変更して生成 / スキップ

Step 4: バックアップ + スキル/エージェント生成

承認されたクラスタから定義ファイルを生成:

  • バックアップ: ${CLAUDE_PLUGIN_DATA}/backup/YYYYMMDD_HHMM/ にスナップショット保存
  • 出力先: ${CLAUDE_PLUGIN_DATA}/evolved/ (staging のみ)
  • ローカルの dev-crew プラグインソースは書き換えない
  • 生成物に由来 instinct ID をコメントとして埋め込む

Step 5: 結果報告

スキル「phpstan-type-fix」を生成しました。
由来: inst-20260213-001, inst-20260214-003, inst-20260215-002
保存先: ${CLAUDE_PLUGIN_DATA}/evolved/phpstan-type-fix/SKILL.md

Step 6: GitHub Issue 作成 (Contribute)

生成されたスキル/エージェントごとに morodomi/dev-crew リポジトリに Issue を作成。 source-path から dev-crew プラグインルートを解決し、テスト検証 (test-*.sh) 後に Issue 作成。 詳細な Issue テンプレート・plugin.json パス検証: reference.md

Reference

詳細: reference.md

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.