其他技能
dev-learn
Close the dev.to feedback loop after an audit - promote winning title formulas and tags, demote losers, and feed the updated weights back into the next dev-post draft. Run after /dev-audit once the post log has data.
naheel0 · 已有静态检查记录
安装与使用
运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。
npx skills add naheel0/dev-skills --skill dev-learn技能说明
name: dev-learn description: >- Close the dev.to feedback loop after an audit - promote winning title formulas and tags, demote losers, and feed the updated weights back into the next dev-post draft. Run after /dev-audit once the post log has data.
dev-learn
Turns what /dev-audit found into weights the next /dev-post draft actually uses.
analytics + ~/.claude/devto/log.md -> /dev-audit -> dev-learn.py audit --apply -> reweighted formulas/tags -> next draft.
When to run
After /dev-audit has filled engagement_rate for the logged posts. The script
needs at least 10 audited posts; below that it reports the count and changes nothing.
Run it
python3 ~/.config/opencode/skills/dev-learn.py audit # dry-run: show proposed changes
python3 ~/.config/opencode/skills/dev-learn.py audit --apply # write them
status is an alias for audit if you only want the current weights.
What changes
dev-post/title-formulas.json- +0.1 weight when a formula's mean engagement >= account mean, -0.1 when <= half the mean. Weight 0 moves toarchive.dev-post/tag-suggestions.json- same rule forbroadandnichetags, matched against the log'stagsfield.dev-human/slop.json- untouched. Slop words are voice-specific; review them manually fromhumanize.py --report.dev-profile/rubric.json- flagged only. Rebalancing needs follower-growth data the log does not capture yet.
Rules
- Never delete a formula, tag, or item. Demote to weight 0 and move to
archive. - Dry-run first and show the user the proposal before
--apply. - Demotion is relative to this account's own mean, not an absolute threshold.
- After
--apply, hand off to/dev-postso the next draft picks up the new weights.
Skipped (ponytail)
- No auto-fetch of dev.to analytics (needs an API key and setup);
/dev-auditsupplies the numbers. - No new learning file format - reuses the JSON files
/dev-postalready reads.