agentleFS
michelvemichelve/hugin-v0/skills/setup/SKILL.md

setup

Skill0 starsChanged 8 months agoMITView on GitHub

Verify environment variables, MCP servers, and LSP are configured correctly. Use when user says 'setup', 'check my setup', 'verify config', 'is everything configured', or wants to confirm their development environment is ready.

  • Reads credentials
  • Installs packages

193 other projects use a version of this, 1 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use add-slack, add-parallel and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • MicrosoftSkill

    add-slack

    Add Slack channel integration via Chat SDK.

    Also in 6 projects that use this

  • MicrosoftSkill

    add-parallel

    Also in 5 projects that use this

  • sskarzSkill

    add-telegram-swarm

    Add Agent Swarm (Teams) support to Telegram. Each subagent gets its own bot identity in the group. Requires Telegram channel to be set up first (use /add-telegram). Triggers on "agent swarm", "agent teams telegram", "telegram swarm", "bot pool".

    Also in 5 projects that use this

  • +9 more from microsoft

The file

Show its rules and text

We split this skill into the rules it gives an agent

19 rules. 0 are common, 8 are distinctive, and 11 are very specific to this project.

  • 0

    Common

    Most of the 171 edited versions we read keep these.

  • 8

    Distinctive

    This author's own choices. Worth a look.

  • 11

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run each of the following checks and report a summary table at the end.

    line 11
  2. Very specific:

    If the user provided arguments (e.g.

    line 15
  3. Very specific:

    Run export FIGMA_API_KEY=<value> in the current shell

    line 18
  4. Very specific:

    Check if FIGMA_API_KEY is already in ~/.zshrc (or ~/.bashrc):

    line 19
  5. Very specific:

    If not present, append: export FIGMA_API_KEY=<value>

    line 20
  6. Distinctive:

    If present with a different value, ask before overwriting

    line 21
  7. Distinctive:

    If no arguments are provided, proceed normally and prompt for missing required values at the end.

    line 24
  8. Distinctive:

    Check whether each variable is set (non-empty) in the current shell environment:

    line 28
  9. Distinctive:

    If any required variable is missing, show the setup command for the user's OS:

    line 36
  10. Very specific:

    Check if typescript-language-server is available on $PATH by running:

    line 41
  11. Very specific:

    Check if the figma-console-mcp package is installed globally:

    line 55
  12. Distinctive:

    If not installed, install it:

    line 61
  13. Very specific:

    Read .mcp.json at the project root and verify each server:

    line 71
  14. Very specific:

    If any server is missing from .mcp.json, offer to add it.

    line 85
  15. Distinctive:

    If any checks failed, offer to fix them automatically:

    line 112
  16. Very specific:

    Missing FIGMA_API_KEY: Ask the user for their key, then set it (export + append to shell profile)

    line 114
  17. Very specific:

    Missing TypeScript LSP: Run npm install -g typescript-language-server typescript

    line 115
  18. Very specific:

    Missing figma-console-mcp: Run npm install -g figma-console-mcp

    line 116
  19. Distinctive:

    Only proceed with auto-fixes if the user confirms.

    line 119

“Common” is measured: kept by at least 6 in 10 of the 171 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

Setup Verification

Run each of the following checks and report a summary table at the end.

0. Handle Arguments

If the user provided arguments (e.g. /setup FIGMA_API_KEY=fig_xxx), parse them first:

  • FIGMA_API_KEY=<value>: Persist the key for the current and future sessions:
    1. Run export FIGMA_API_KEY=<value> in the current shell
    2. Check if FIGMA_API_KEY is already in ~/.zshrc (or ~/.bashrc):
      • If not present, append: export FIGMA_API_KEY=<value>
      • If present with a different value, ask before overwriting
    3. Mark the Figma environment check as ✅ for the rest of this run

If no arguments are provided, proceed normally and prompt for missing required values at the end.

1. Environment Variables

Check whether each variable is set (non-empty) in the current shell environment:

VariableRequiredUsed by
FIGMA_API_KEYYesfigma, figma-console MCP servers

For each variable, report ✅ Set or ❌ Missing.

If any required variable is missing, show the setup command for the user's OS:

  • export FIGMA_API_KEY=fig_xxxxxxxxxxxxxxxxxxxxx (add to ~/.zshrc or ~/.bashrc)

2. TypeScript LSP

Check if typescript-language-server is available on $PATH by running:

which typescript-language-server

Report ✅ Installed or ❌ Missing. If missing, show:

npm install -g typescript-language-server typescript

3. Figma Console Log MCP

Check if the figma-console-mcp package is installed globally:

npm list -g figma-console-mcp 2>/dev/null

If not installed, install it:

npm install -g figma-console-mcp

Report ✅ Installed or ⚠️ Missing (and auto-install if missing).

4. MCP Servers

Read .mcp.json at the project root and verify each server:

ServerTypeCheck
context7npxnpx -y @upstash/context7-mcp --help resolves
playwrightnpxnpx -y @playwright/mcp --help resolves
figmanpx + envPackage resolves AND $FIGMA_API_KEY is set
figma-consolenpx + envPackage resolves AND $FIGMA_API_KEY is set
sequential-thinkingnpxnpx -y @anthropic/sequential-thinking-mcp --help resolves
miro-mcpURL (SSE)URL https://mcp.miro.com/sse is configured
shadcnnpxnpx -y shadcn@latest mcp --help resolves

For servers marked as needing env vars, cross-reference with section 1 results.

If any server is missing from .mcp.json, offer to add it.

Report each server as ✅ Configured or ⚠️ Needs attention.

5. Summary

Print a single summary table:

┌───────────────────────────┬────────┐
│ Check                     │ Status │
├───────────────────────────┼────────┤
│ FIGMA_API_KEY             │ ✅/❌  │
│ TypeScript LSP            │ ✅/❌  │
│ figma-console-mcp (npm)   │ ✅/⚠️  │
│ context7 MCP              │ ✅/⚠️  │
│ playwright MCP            │ ✅/⚠️  │
│ figma MCP                 │ ✅/⚠️  │
│ figma-console MCP         │ ✅/⚠️  │
│ sequential-thinking MCP   │ ✅/⚠️  │
│ miro-mcp MCP              │ ✅/⚠️  │
│ shadcn MCP                │ ✅/⚠️  │
└───────────────────────────┴────────┘

6. Auto-Fix Offer

If any checks failed, offer to fix them automatically:

  • Missing FIGMA_API_KEY: Ask the user for their key, then set it (export + append to shell profile)
  • Missing TypeScript LSP: Run npm install -g typescript-language-server typescript
  • Missing figma-console-mcp: Run npm install -g figma-console-mcp
  • MCP server not resolving: Suggest running /setup again after fixing network/npm issues

Only proceed with auto-fixes if the user confirms.

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.