agentleFS
fluttersdkfluttersdk/ai/CLAUDE.md

ai

CLAUDE.md3 starsChanged 4 months agoMITView on GitHub

FlutterSDK AI skill registry that distributes AI coding skills, MCP servers, and commands for Wind UI, Magic Framework, and more across OpenCode, Claude Code, Cursor, Gemini CLI, and VS Code Copilot. Hosted via GitHub Pages at fluttersdk.github.io/ai/ Every skills/<name>/ directory is a MIRROR. Never edit a skill here. sync.yml rsyncs the upstream subtree with --delete, so a registry-only file is one sync away from deletion; that is how six hand-written wind-ui reference files disappeared before anyone noticed. Edit the skill…

The file

We split this CLAUDE.md into the rules it gives an agent

7 rules. About 0 are common, 3 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    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 ANY skill change, ALL of the following must stay in sync:

    line 53
  2. Very specific:

    Every file on disk under skills/<name>/ must be listed in index.json files array

    line 55
  3. Very specific:

    Run .github/workflows/sync.yml (or push to main) to automate this checklist.

    line 60
  4. Very specific:

    Never put skills inside .claude-plugin/: skills live at skills/ root

    line 67
  5. Distinctive:

    Never use inline single-line arrays: multi-line with trailing commas

    line 68
  6. Distinctive:

    Never create MCP tools without Zod input schemas

    line 69
  7. Very specific:

    Never hardcode paths in install script: use $HOME / $XDG_CONFIG_HOME

    line 70

≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md 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
CLAUDE.md

CLAUDE.md

FlutterSDK AI skill registry that distributes AI coding skills, MCP servers, and commands for Wind UI, Magic Framework, and more across OpenCode, Claude Code, Cursor, Gemini CLI, and VS Code Copilot.

Hosted via GitHub Pages at fluttersdk.github.io/ai/

Commands

CommandDescription
npm run buildCompile MCP server (from mcps/fluttersdk-mcp/)
npm run lintESLint check (MCP server)
npm testRun MCP server tests
cd mcps/fluttersdk-mcp && npm testRun bridge-specific tests
node -e "JSON.parse(require('fs').readFileSync('skills/index.json','utf8'))"Validate registry JSON
bash scripts/install.sh --dry-runPreview multi-tool installation

Architecture

  • skills/: GitHub Pages root. Each skill = <name>/SKILL.md + <name>/references/*.md
    • wind-ui/: Wind UI className system, from fluttersdk_wind
    • magic-framework/: Magic Framework IoC + Facades + ORM, from magic
    • fluttersdk-dusk/: E2E Flutter app driver via MCP, from fluttersdk_dusk
    • fluttersdk-telescope/: Runtime inspector, 9 ring buffers, from fluttersdk_telescope
    • fluttersdk-artisan/: CLI framework + stdio MCP server, from fluttersdk_artisan

Every skills/<name>/ directory is a MIRROR. Never edit a skill here. sync.yml rsyncs the upstream subtree with --delete, so a registry-only file is one sync away from deletion; that is how six hand-written wind-ui reference files disappeared before anyone noticed. Edit the skill in its upstream repo (fluttersdk/wind, magic, dusk, telescope, artisan) and let the sync deliver it.

The sync fires when an upstream publishes a release, not on every upstream push. To pull an unreleased skill fix, run the upstream repo's "Dispatch skill update to registry" workflow manually. Per-skill versions live in each SKILL.md frontmatter and in skills/index.json; do not copy them into prose here, they drift within a release cycle.

  • skills/index.json: OpenCode discovery manifest. Source of truth for file listing
  • .claude-plugin/: Plugin manifest (plugin.json) + marketplace catalog (marketplace.json)
  • mcps/: MCP servers (TypeScript, stdio transport, Zod schemas)
  • commands/: Claude Code plugin commands (flutter-test.md); auto-discovered as /fluttersdk:<name>
  • agents/: plugin subagents (flutter-reviewer.md, flutter-reviewer-deep.md); auto-discovered as fluttersdk:<name>. Plugin agents support name, description, model, effort, maxTurns, tools, disallowedTools, skills, memory, background, isolation only; hooks, mcpServers, and permissionMode are ignored for plugin-shipped agents, so do not add them
  • references/: plugin-owned reference files the skill and agents read through ${CLAUDE_PLUGIN_ROOT} (flutter-review-core.md, dart-style-core.md). Not part of any mirrored skill

skills/flutter-review/ is the one skill this repo owns rather than mirrors, and it is deliberately absent from skills/index.json: it orchestrates Claude Code subagents, which the other tools the registry serves cannot spawn. Everything else under skills/ is a mirror and belongs in the index.

  • tool-templates/: Cross-tool command templates (cursor/, gemini/, opencode/) consumed by scripts/install.sh
  • .mcp.json: Bundled MCP server config (HTTP transport to mcp.fluttersdk.com); auto-loaded on plugin install
  • .github/workflows/deploy-registry.yml: Auto-deploys skills/ to Pages on push to main; also writes .well-known/skills/index.json for OpenCode forward-compat
  • .github/workflows/sync.yml: Automates skill sync checklist on push to main

Skill Format

SKILL.md uses YAML frontmatter with two required fields:

  • name: 1-64 chars, lowercase, alphanumeric + hyphens
  • description: 1-1024 chars, must include trigger keywords for agent activation

Reference files go in references/: pure Markdown, no frontmatter, loaded on-demand.

Sync Rules (Critical)

After ANY skill change, ALL of the following must stay in sync:

  1. Every file on disk under skills/<name>/ must be listed in index.json files array
  2. index.json description must match SKILL.md frontmatter description
  3. .claude-plugin/plugin.json version must be bumped (patch for content updates)
  4. .claude-plugin/marketplace.json version must match, both top-level AND plugins[0].version

Run .github/workflows/sync.yml (or push to main) to automate this checklist.

Missing from index.json = OpenCode users won't get the file. Missing version bump = Claude Code users won't get the update.

Anti-Patterns

  • Never put skills inside .claude-plugin/: skills live at skills/ root
  • Never use inline single-line arrays: multi-line with trailing commas
  • Never create MCP tools without Zod input schemas
  • Never hardcode paths in install script: use $HOME / $XDG_CONFIG_HOME
  • Skill names: lowercase, hyphen-separated only (wind-ui, not WindUI)

Code Style (Project-Specific)

  • Markdown: ATX headers, fenced code blocks with language ID, tables for structured data
  • TypeScript (MCP): 4-space indent, 120-char width, const over let, no any
  • JSON: 4-space indent, trailing newline, hyphen-separated keys for skills

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.