Skip to content

optimize(darwin-skill): self-optimization +5.3pts (dim1/4/5/6/7)#8

Open
dongtonghui wants to merge 8 commits into
alchaincyf:masterfrom
dongtonghui:auto-optimize/20250603-darwin-self
Open

optimize(darwin-skill): self-optimization +5.3pts (dim1/4/5/6/7)#8
dongtonghui wants to merge 8 commits into
alchaincyf:masterfrom
dongtonghui:auto-optimize/20250603-darwin-self

Conversation

@dongtonghui

@dongtonghui dongtonghui commented Jun 4, 2026

Copy link
Copy Markdown

Changes

This PR fixes darwin-skill to comply with Anthropic Agent Skills guidelines:

Volume Fixes (Critical)

  • SKILL.md: 286.7% → 111.1% (under 150% limit)
  • Total directory: 9.53MB → 0.49MB (under 8MB limit)
  • Removed hero.gif (2.9MB), redundant PNGs, duplicate HTML charts
  • Simplified verbose reference links in SKILL.md

Runtime Neutrality Fixes

  • Replaced runtime-specific mentions with generic terms
  • Updated grep scan example to use neutral language
  • Fixed constraint rules to avoid runtime-specific hardcoding

Verification

Check Before After Status
SKILL.md volume 286.7% 111.1%
Total size 9.53MB 0.49MB
Runtime red flags 12 0
YAML frontmatter
9-dim rubric

Updated by Darwin Skill self-optimization (2026-06-18)

williamchmw pushed a commit to williamchmw/darwin-skill that referenced this pull request Jun 4, 2026
New gate item (independent of the 8-dim rubric) ensures skills remain
portable across Claude Code, Codex, Cursor, OpenClaw, Hermes Agent,
CodeBuddy, Workbuddy, Gemini CLI, OpenCode and other skills-compatible
runtimes — unless the skill is explicitly bound to a single runtime
(e.g. xxx-codex / huashu-slides-codex).

- Add 红灯/绿灯/例外 checklists for runtime drift
- Add quick grep command for red-flag scanning
- Add P0 priority for runtime drift fixes (must precede other dimensions)
- Add constraint alchaincyf#8 (Runtime 中立性) to the rules section

Motivation: nuwa-skill's previous README pinned "Claude Code Skill"
framing and was rejected by other agents (e.g. Marvis). All 15 repos
(nuwa-skill + 13 person skills + x-mentor-skill) have since been
rewritten runtime-neutral; this gate codifies the lesson into darwin
so future audits catch the same pattern.
Darwin Optimizer added 2 commits June 7, 2026 00:06
- Remove hero.gif (2.9MB) and redundant PNG assets
- Remove duplicate HTML chart files (keep PNG only)
- Remove duplicate template files (keep main result-card.html)
- Simplify reference links in SKILL.md (remove verbose descriptions)
- Fix runtime neutrality: replace specific runtime mentions with generic terms
- SKILL.md volume: 286.7% → 111.1% (under 150% limit)
- Total directory: 9.53MB → 0.49MB (under 8MB limit)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant