Skip to content
Development
Skill

/suggest

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

From plugin
nyann
741 skills41 commands3 hooks

Claude Code

$ npx -y skills add thettwe/nyann --skill suggest --agent claude-code

SKILL.md

suggest.SKILL.md
name: suggest
description: "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."

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

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

Phase 3: Present suggestions

6. 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

7. 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

8. Ask the user which suggestions to apply. 9. For actionable suggestions (those with `action.field` and `action.add`), offer to update the profile JSON directly. 10. 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.
Read more
@thettwe
Ships withnyann

ငြမ်း is Burmese for scaffolding. Nyann is the Claude Code plugin that picks expert git defaults for your stack — branching, working hooks (Husky / pre-commit.com / lefthook), commits, releases, CI, docs — then keeps the repo on those rails through every PR

Stars on GitHub

Momentum

stars in total
7
Star history of thettwe/nyann on GitHub, a chart by star-history.com

Other skills on nyann.

add-team-source

add-team-source

Register a git URL as a team-profile source so nyann can periodically sync and expose its profiles under a namespace. TRIGGER…

@thettwe@thettweInstall Skill
bootstrap-project

bootstrap-project

Bootstrap a fresh or existing repo with nyann. TRIGGER when the user says "set up this project", "initialize git workflow",…

@thettwe@thettweInstall Skill
check-prereqs

check-prereqs

Survey the machine and report which nyann features are usable right now. TRIGGER when the user says "is my machine ready for…

@thettwe@thettweInstall Skill
cleanup-branches

cleanup-branches

Prune local branches whose work is already merged into the base. TRIGGER when the user says "clean up branches", "delete merged…

@thettwe@thettweInstall Skill
commit

commit

Generate a Conventional Commits message from the staged diff and create the commit after user confirmation. TRIGGER when the user…

@thettwe@thettweInstall Skill
diagnose

diagnose

Bundle a redacted, support-grade snapshot of the current nyann state for inclusion in a bug report or support request. Combines…

@thettwe@thettweInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills2w309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc2w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react5d252k
@facebook@facebookInstall Skill

Questions about suggest.

Which coding agents can use suggest?
suggest installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.