Build an evidence-backed ECC install plan for a specific repo by sorting skills, commands, rules, hooks, and extras into DAILY vs LIBRARY buckets using parallel
复制下面这句话,粘贴给 Claude Code、Codex、Cursor 等 AI 编程工具,它会读取安装说明并在你确认后完成安装。
请阅读 https://ai.atlankj.com/install/asset/gh-agent-sort-2fcce0a9d227 ,按照其中的说明把「agent-sort」安装到你(当前 AI 工具)中。执行前先告诉我将运行的命令和写入的位置,等我确认。
查看 AI 将读取的安装说明正在读取 GitHub 原文…
内容来自 GitHub 原始文件,由原作者维护。在 GitHub 查看
Use this skill when a repo needs a project-specific ECC surface instead of the default full install.
The goal is not to guess what "feels useful." The goal is to classify ECC components with evidence from the actual codebase.
Produce these artifacts in order:
skill-library router if the project wants oneUse two buckets only:
DAILY
LIBRARY
Use repo-local evidence before making any classification:
Useful commands include:
rg --files
rg -n "typescript|react|next|supabase|django|spring|flutter|swift"
cat package.json
cat pyproject.toml
cat Cargo.toml
cat pubspec.yaml
cat go.mod
If parallel subagents are available, split the review into these passes:
agents/*skills/*commands/*rules/*If subagents are not available, run the same passes sequentially.
Establish the real stack before classifying anything:
For every candidate surface, record:
Use this format:
skills/frontend-patterns | skill | DAILY | 84 .tsx files, next.config.ts present | core frontend stack
skills/django-patterns | skill | LIBRARY | no .py files, no pyproject.toml | not active in this repo
rules/typescript/* | rules | DAILY | package.json + tsconfig.json | active TS repo
rules/python/* | rules | LIBRARY | zero Python source files | keep accessible only
Promote to DAILY when:
Demote to LIBRARY when:
Translate the classification into action:
.claude/skills/skill-libraryIf the repo already uses selective installs, update that plan instead of creating another system.
If the project wants a searchable library surface, create:
.claude/skills/skill-library/SKILL.mdThat router should contain:
Do not duplicate every skill body inside the router.
After the plan is applied, verify:
Return a compact report with:
If the next step is interactive installation or repair, hand off to:
configure-eccIf the next step is overlap cleanup or catalog review, hand off to:
skill-stocktakeIf the next step is broader context trimming, hand off to:
strategic-compactReturn the result in this order:
STACK
- language/framework/runtime summary
DAILY
- always-loaded items with evidence
LIBRARY
- searchable/reference items with evidence
INSTALL PLAN
- what should be installed, removed, or routed
VERIFICATION
- checks run and remaining gaps