dev-skills

agent
Guvenlik Denetimi
Gecti
Health Gecti
  • License — License: MIT
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Community trust — 65 GitHub stars
Code Gecti
  • Code scan — Scanned 8 files during light audit, no dangerous patterns found
Permissions Gecti
  • Permissions — No dangerous permissions requested

Bu listing icin henuz AI raporu yok.

SUMMARY

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

README.md

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

OpenCode (macOS/Linux)

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

Claude Code (macOS/Linux)

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

When running dev-learn.py with Claude Code, set its skills directory:

DEVTO_SKILLS_DIR=~/.claude/skills python3 ~/.claude/skills/dev-learn.py audit

Windows PowerShell

Run this from the directory where you want to clone the repo. For Claude Code, change the $skills value to "$HOME\.claude\skills":

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\dev-* "$skills\"
Copy-Item .\dev-skills\dev-learn.py "$skills\"

For Claude Code, run the script like this in PowerShell:

$env:DEVTO_SKILLS_DIR = "$HOME\.claude\skills"
python "$HOME\.claude\skills\dev-learn.py" audit

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.py audit    # dry-run: show proposed changes
python3 ~/.config/opencode/skills/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.

Yorumlar (0)

Sonuc bulunamadi