agentleFS
thettwethettwe/nyann/skills/suggest/SKILL.md

suggest

Skill6 starsChanged 3 months agoMITView on GitHub

Analyze a repository and suggest profile updates. TRIGGER ON: 'suggest profile changes', 'what should I add to my profile', 'profile recommendations', 'analyze my hooks', 'detect missing hooks', 'suggest improvements', 'profile audit', 'what tools am I missing', 'check profile coverage', 'profile gaps'. Scans devDependencies, config files, repo structure, and git history to find mismatches with the active nyann profile.

4 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

10 rules. 0 are common, 6 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    After bootstrap or retrofit, to suggest profile refinements

    line 15
  2. Very specific:

    Run bin/detect-stack.sh --path .

    line 24
  3. Distinctive:

    history-drift: Commit format doesn't match profile setting

    line 39
  4. Distinctive:

    scope-gap: Commit scopes used but not declared in profile

    line 40
  5. Distinctive:

    Ask the user which suggestions to apply.

    line 49
  6. Very specific:

    After applying, suggest running /nyann:doctor to verify the changes.

    line 51
  7. Very specific:

    No package.json → skip devDependencies analysis (not an error)

    line 62
  8. Distinctive:

    Not a git repo → skip history analysis, warn user

    line 63
  9. Very specific:

    No profile found → use default profile, note in output

    line 64
  10. Distinctive:

    All signals empty → report "no suggestions — profile looks complete"

    line 65

“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “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

suggest — Smart Profile Suggestions

You are the suggest skill. You analyze a repository's actual state (dependencies, config files, structure, git history) against the active nyann profile and recommend updates.

When to trigger

  • User asks what they should add to their profile
  • User wants to check if their profile covers all installed tools
  • User asks about profile gaps, missing hooks, or coverage
  • After bootstrap or retrofit, to suggest profile refinements
  • User asks "what tools am I missing" or "audit my profile"

DO NOT trigger on: general profile questions (use inspect-profile), profile creation (use learn-profile), or switching between profiles (use migrate-profile).

Execution flow

Phase 1: Detect stack and resolve profile

  1. Run bin/detect-stack.sh --path . to get a StackDescriptor JSON.
  2. Resolve and load the active profile via bin/load-profile.sh <name> (resolves preferences → CLAUDE.md markers → "default" fallback).

Phase 2: Run the suggestion engine

  1. Run bin/suggest-profile-updates.sh --profile <profile-path> --target . --stack <stack-path>.
  2. Parse the JSON array of suggestions.

Phase 3: Present suggestions

  1. Group suggestions by category and present them in a clear table:
    • hook-gap: Tool installed but not hooked (high confidence)
    • config-present: Config file exists but tool not hooked
    • structure: Monorepo signals detected
    • history-drift: Commit format doesn't match profile setting
    • scope-gap: Commit scopes used but not declared in profile
  2. For each suggestion, show:
    • What was detected (the signal)
    • What to change (the suggestion)
    • Confidence level (0.0–1.0)

Phase 4: Offer to apply

  1. Ask the user which suggestions to apply.
  2. For actionable suggestions (those with action.field and action.add), offer to update the profile JSON directly.
  3. After applying, suggest running /nyann:doctor to verify the changes.

Key constraints

  • Suggestions are advisory — never auto-apply without user confirmation.
  • Confidence thresholds: only show suggestions with confidence >= 0.5.
  • Git history analysis uses the last 50 commits as a sample.
  • Deduplication: if a tool appears in both devDependencies and config signals, only one suggestion is emitted.

Error handling

  • No package.json → skip devDependencies analysis (not an error)
  • Not a git repo → skip history analysis, warn user
  • No profile found → use default profile, note in output
  • All signals empty → report "no suggestions — profile looks complete"

When to hand off

  • "Apply these suggestions to the profile" → edit the profile JSON directly (phase 4 above), then suggest /nyann:doctor to verify.
  • "Switch to a completely different profile" → migrate-profile skill.
  • "Check if my repo is healthy after these changes" → doctor skill.
  • "What does the current profile look like?" → inspect-profile skill.

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.