♻️ refactor(agent): streamline skills and rulesets

This commit is contained in:
csh
2026-08-11 14:56:21 +08:00
parent 9010829c6d
commit 34a3a5dec1
13 changed files with 333 additions and 121 deletions
+9 -11
View File
@@ -28,7 +28,7 @@
| `grill-with-docs` / `grilling` | 收敛 design tree 并同步领域词汇/ADR |
| `to-spec` | 把已确认上下文合成为 feature spec |
| `to-tickets` | 拆成带 blocking edges 的 tracer-bullet tickets |
| `implement` / `tdd` | 在约定 seam 上按 ticket 实现和验证 |
| `tdd` | 在约定 seam 上按 ticket 采用测试驱动实现和验证 |
| `code-review` | 对固定点后的提交做 Standards/Spec 双轴审查 |
| `handoff` | 跨 session 交接未完成上下文 |
@@ -51,16 +51,14 @@ Code review 和质量审查工具集,包含共享参考资料目录 `_shared`
### 代码库侦察与迁移
| Skill | 作用 |
| ------------------ | --------------------------------------------------------- |
| `codebase-recon` | 通过 git 历史和代码结构做 risk scan、热点分析、重构前侦察 |
| `pathfinding` | 需求澄清和 confidence calibration |
| `codebase-migrate` | 大代码库迁移、多文件 refactor、分批变更与 CI 验证工作流 |
| Skill | 作用 |
| ---------------- | --------------------------------------------------------- |
| `codebase-recon` | 通过 git 历史和代码结构做 risk scan、热点分析、重构前侦察 |
### 其他
| Skill | 作用 |
| --------------------- | ------------------------------------------------------------- |
| `ui-ux-pro-max` | UI/UX 设计知识库,包含风格、配色、字体、组件和栈相关建议 |
| `karpathy-guidelines` | 写代码、审查、重构时降低 LLM 常见错误:保持简单、聚焦、可验证 |
| `uncle-bob-craft` | Clean Architecture、SOLID、设计模式误用和代码工匠实践审查 |
| Skill | 作用 |
| --------------- | -------------------------------------------------------- |
| `ui-ux-pro-max` | UI/UX 设计知识库,包含风格、配色、字体、组件和栈相关建议 |
| `cangjie-skill` | 将书籍、课程、访谈等长内容蒸馏为原子化、可执行的 skills |
| `darwin-skill` | 评估并迭代优化 skills,以测试提示和成对评审控制质量回归 |
+38 -29
View File
@@ -31,46 +31,55 @@ skills:
upstream_ref: main
upstream_paths:
- plugins/outfitter/skills/codebase-recon
- plugins/outfitter/skills/pathfinding
upstream_layout: multi_skill_subset
selected_for:
- risk scan
- git-history hotspot analysis
- codebase reconnaissance before planning
- refactor-risk assessment
- confidence calibration reference dependency
- evidence-based confidence calibration
playbook_fit: pre-design and pre-refactor codebase risk discovery
notes:
- Upstream skills live inside a larger agents repository.
- pathfinding is included because codebase-recon links to pathfinding/references/confidence.md.
- A sync overlay makes codebase-recon confidence calibration self-contained.
- id: codebase-migrate
- id: cangjie-skill
sync: enabled
upstream_repo: https://github.com/ComposioHQ/awesome-codex-skills
upstream_ref: master
upstream_path: codebase-migrate
upstream_layout: single_skill_dir
selected_for:
- large codebase migrations
- multi-file refactors
- reviewable refactor batches
- CI-verified migration workflows
notes:
- Sourced from awesome-codex-skills.
- id: uncle-bob-craft
sync: enabled
upstream_repo: https://github.com/sickn33/antigravity-awesome-skills
upstream_repo: https://github.com/kangarooking/cangjie-skill
upstream_ref: main
upstream_path: skills/uncle-bob-craft
upstream_layout: single_skill_from_suite
upstream_layout: repository_root_skill
upstream_paths:
- SKILL.md
- LICENSE
- methodology
- extractors
- templates
selected_for:
- Clean Architecture review
- SOLID review
- design-pattern misuse checks
- architecture-boundary refactoring
- code craftsmanship review
playbook_fit: architecture and code-quality craft review support
- distilling books and long-form content into executable skills
- extracting reusable frameworks, principles, and methods
- generating Darwin-compatible skill test prompts
playbook_fit: long-form knowledge distillation into reusable skills
notes:
- Upstream skill includes references for Clean Architecture, Clean Coder, Clean Agile, and design-pattern discipline.
- Registered as a single selected skill from a larger community skill suite.
- The repository root is the skill directory.
- Licensed under AGPL-3.0.
- id: darwin-skill
sync: enabled
upstream_repo: https://github.com/alchaincyf/darwin-skill
upstream_ref: master
upstream_layout: repository_root_skill
upstream_paths:
- SKILL.md
- LICENSE
- references
- scripts
- templates
- test-prompts.json
selected_for:
- skill quality assessment
- test-prompt-driven skill optimization
- paired evaluation and regression control
playbook_fit: evaluation and iterative optimization of skills
notes:
- The repository root is the skill directory.
- Licensed under MIT.