agentleFS
hailneedhailneed/devpersona/skills/advise/SKILL.md

advise

Skill2 starsChanged 2 months agoMITView on GitHub

Turn the persona profile built from local coding-agent history into concrete suggestions — new agent skills worth authoring, coding-habit improvements, and architecture recommendations. Use when the user asks what skills they should create, how to improve their workflow, prompts, or code habits, says "suggest skills for me", "bana skill öner", "ne geliştirmeliyim", "önerilerin neler", or runs /devpersona:advise, optionally with a focus argument (skills | code | architecture). Requires a persona card from devpersona:analyze and builds it first if missing. Not for the profile itself — that is devpersona:analyze.

3 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions3 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 3

    1. Abilityai/cornelius★ 109same name
    2. felipeam86/pipe-skills★ 18same name
    3. yagizdo/quiver★ 16same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository2 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read ~/.claude/persona/persona.md and ~/.claude/persona/stats.json.

    line 16
  2. Very specific:

    If either is missing or stats.json is older than 7 days, first run the full procedure in the analyze skill of this plugin, then continue.

    line 17
  3. Very specific:

    If the user passed an argument (skills, code, or architecture), produce only that section.

    line 20
  4. Distinctive:

    test-related commands rare or absent while build commands are frequent

    line 54
  5. Distinctive:

    Do not recommend technologies the evidence doesn't touch.

    line 67

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Persona-based suggestions

Convert the persona card into actionable advice. Ground every suggestion in observed evidence — cite the number, memory file, or pattern it comes from. A suggestion without evidence does not go in the report.

Language rule: write every user-facing output in the language the user is speaking with you.

Step 0 — Load the persona

Read ~/.claude/persona/persona.md and ~/.claude/persona/stats.json. If either is missing or stats.json is older than 7 days, first run the full procedure in the analyze skill of this plugin, then continue.

If the user passed an argument (skills, code, or architecture), produce only that section. Otherwise produce all three.

Section 1 — Skill suggestions

Find repeated manual routines in the evidence and propose turning each into a agent skill. Sources of repetition:

  • commands counts (e.g. dotnet test appearing 40× across projects → a test-run-and-triage skill)
  • session titles that describe the same task type again and again
  • memory files that record the same kind of gotcha repeatedly
  • prompt samples where the user types near-identical instructions

For each suggestion (max 4, ranked by observed frequency) give a ready-to-use draft:

### <n>. <skill-name> — seen <N>× in <evidence>
---
name: <kebab-case>
description: <What it does>. Use when <concrete triggers the user actually types>.
---
<5–10 line body sketch: the steps the skill would encode>

Point the user at the official docs (https://code.claude.com/docs) for where to put the skill (~/.claude/skills/<name>/SKILL.md for personal use).

Section 2 — Coding-habit suggestions

Derive 2–4 suggestions from patterns like:

  • high errors / toolCalls ratio in a project → what kind of errors repeat (check prompt samples and memory files for the cause) and what habit would prevent them
  • denials count → friction with permissions worth configuring away
  • test-related commands rare or absent while build commands are frequent
  • very long sessions (largestSessions) → suggest checkpoint/commit habits
  • one-sided tool usage (e.g. no Grep/Glob, everything by manual paths)

Each suggestion: observation (with number) → why it costs something → the new habit.

Section 3 — Architecture suggestions

From languages, commands, and memory files, infer the stacks actually in use and give 2–3 recommendations at the architecture level: recurring structural pain visible in the evidence (e.g. migrations breaking, dual environments, config drift), patterns that fit the observed stack, and one "next investment" the history justifies.

Do not recommend technologies the evidence doesn't touch. If the history shows too little architectural signal, say so honestly instead of padding.

Closing

End with a short "start here" line naming the single highest-value suggestion, and remind the user the analysis was fully local.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.