Skip to content
Projekte

Über uns

Agent skills for dev.to - write in your voice, audit what worked, feed the results into the next draft.

Entwicklerwerkzeuge

So werden diese Zahlen gemessen

Gemessener Sternzuwachs

in 24h
+6
in 7 days
+20
in 15 days
Verlauf wird gesammelt
in 1 month
Verlauf wird gesammelt

Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.

README.md

Original

dev-skills

A set of agent skills for writing dev.to posts in your own voice, auditing what actually worked, and feeding those results into the next draft. Works with OpenCode, Claude Code, and other agents that load SKILL.md files.

Why my AI writer waits 10 posts before learning — the dev-skills learning loop

Why

Generic writing advice is a prior. Your own posts are the evidence. These skills close the loop:

dev-learn.py audit --apply  <--  /dev-audit  <--  analytics + ~/.claude/devto/log.md
        |  promotes winning formulas/tags, demotes losers
        +---------------------->  /dev-post's next draft

Install

Skills CLI (recommended)

Install directly from GitHub; no npm package for dev-skills is needed:

npx skills add naheel0/dev-skills

Use the CLI options/prompts to choose your agent and installation scope. To install selected skills, add --skill flags, for example:

npx skills add naheel0/dev-skills --skill dev-post --skill dev-learn

The dev-learn helper script is included inside that skill. Its default data path is the parent skills directory, so the script works from the CLI's installed skill folder.

Manual install (macOS/Linux)

OpenCode:

git clone https://github.com/naheel0/dev-skills.git
mkdir -p ~/.config/opencode/skills
cp -r dev-skills/skills/dev-* ~/.config/opencode/skills/
cp dev-skills/dev-learn.py ~/.config/opencode/skills/

Claude Code:

git clone https://github.com/naheel0/dev-skills.git
mkdir -p ~/.claude/skills
cp -r dev-skills/skills/dev-* ~/.claude/skills/
cp dev-skills/dev-learn.py ~/.claude/skills/

Manual install (Windows PowerShell)

Run from the directory where you want to clone the repo. Set $skills to "$HOME\.claude\skills" for Claude Code instead of the OpenCode path shown here:

git clone https://github.com/naheel0/dev-skills.git
$skills = "$HOME\.config\opencode\skills"
New-Item -ItemType Directory -Force $skills | Out-Null
Copy-Item -Recurse .\dev-skills\skills\dev-* "$skills\"
Copy-Item .\dev-skills\dev-learn.py "$skills\"

Skills

skill what it does
/dev-post Turn one raw idea into a full draft, three title options, and a copy-ready block. Never publishes without your "yes".
/dev-human Strip AI tells from a draft and score it against a human-sounding check.
/dev-comment Write a comment on someone else's post — three angles, one full comment.
/dev-audit Post-mortem on your published posts using analytics + log.md. Rank by engagement rate, not views.
/dev-learn Apply the audit's findings: promote winning formulas/tags, demote losers.
/dev-profile Score your dev.to profile out of 100 and rewrite the parts that lose points.
/dev-repurpose Turn a long asset (video, newsletter, transcript) into a dev.to article with a canonical URL.

First-time setup

Both agents use ~/.claude/devto/ for the voice profile and post log. Create it if needed:

mkdir -p ~/.claude/devto

Windows PowerShell:

New-Item -ItemType Directory -Force "$HOME\.claude\devto" | Out-Null

voice.md — your voice profile. /dev-post will ask for three of your own past posts and write this file if it does not exist. Do not skip it; a draft in the wrong voice is worse than no draft.

log.md — your post history. This is the data /dev-audit and dev-learn.py read. Start it with this header and append one row per post:

# dev.to post log

| date | title | formula_id | tags | cover | canonical | series | published | engagement_rate | comment_ratio | reach_multiple | human_score | audit_rank | first line |
|------|-------|------------|------|-------|-----------|--------|-----------|-----------------|---------------|----------------|-------------|------------|------------|

/dev-post appends the date, title, formula, tags, and metadata. /dev-audit fills in the engagement metrics later. dev-learn.py counts only posts with a valid engagement rate toward the 10-post minimum. Each post is applied once, so rerunning the same log will not increase weights again.

The learning loop

After a post has collected data:

/dev-audit                                              # find what worked
python3 ~/.config/opencode/skills/dev-learn/dev-learn.py audit    # dry-run
python3 ~/.config/opencode/skills/dev-learn/dev-learn.py audit --apply
/dev-post                                               # next draft uses the new weights

For Claude Code and Windows PowerShell commands, see dev-learn/SKILL.md. dev-learn.py never deletes a formula or tag — it moves zero-weight entries to archive. Slop words in dev-human/slop.json remain unchanged for manual review.

Run the check

python -m unittest -v test_dev_learn

License

MIT. See LICENSE.

Ähnliche Projekte entdecken

Wird geladen…