Skills

Portable knowledge modules with scripts, procedures, and patterns. Skills carry the method; MCP carries the tools.

A skill is the method written down: how your team triages, what a ready spec looks like, which steps run in what order, when to stop and ask. An MCP server is the other half: typed tools an agent can call to read an issue, move it, or tick a criterion. FlyDocs uses both, and each does the job it is good at. Skills carry the method; MCP carries the tools.

Keeping the method in skills keeps context small and behavior steady. A skill costs about 100 tokens in the index and loads in full only when the task calls for it, so the agent follows the same procedure every session without carrying every procedure all the time.

What a skill contains

Every skill lives under .claude/skills/ and follows the same structure:

Directory Structure
.claude/skills/flydocs-workflow/
├── SKILL.md              # Overview: triggers, capabilities, script catalog
├── stages/               # Stage procedures (loaded on demand)
│   ├── capture.md
│   ├── refine.md
│   ├── activate.md
│   ├── implement.md
│   ├── review.md
│   ├── validate.md
│   └── close.md
├── reference/            # Reference docs (comment templates, status rules)
├── templates/            # Issue and PR templates
│   ├── issues/
│   └── pr/
├── scripts/              # 14 Python dispatcher scripts
│   ├── issues.py
│   ├── projects.py
│   ├── workspace.py
│   ├── session.py
│   ├── graph_build.py
│   ├── graph_query.py
│   └── ...
└── session.md            # Session start/wrap procedures

SKILL.md is always present. It describes when to use the skill, what it provides, and where to find detail. The AI reads this file when a trigger term matches, then reads only the specific procedure or reference file it needs for the current task. Scripts (if present) make it an active skill with executable capabilities.

The unified flydocs-workflow skill

The core of FlyDocs is a single unified skill called flydocs-workflow. It handles the entire development lifecycle: issue creation, status transitions, session management, project updates, knowledge graph operations, and workspace configuration.

The skill contains:

  • 14 Python dispatcher scripts -- issues.py, projects.py, workspace.py, session.py, and graph scripts that handle all external operations
  • 19 slash commands -- /capture, /refine, /implement, /review, /start-session, /wrap-session, and more, each loading the relevant stage procedure
  • 7 stage files -- detailed procedures for each lifecycle stage (capture through close)
  • Issue and PR templates -- structured templates for features, bugs, chores, and ideas
  • Reference docs -- comment templates, status transition rules, priority/estimate guidelines, PR workflow

The dispatcher scripts use a unified client that auto-detects the tier (cloud or local) and routes operations transparently. The same issues.py transition command works whether issues live in local markdown files or in Linear via the relay API. The AI never checks the tier. The client handles routing.

Terminal
python3 .claude/skills/flydocs-workflow/scripts/issues.py \
  transition ENG-123 REVIEW "Ready for review — all acceptance criteria met"

Skill types

Platform skills

Platform skills ship with FlyDocs. The flydocs-workflow skill is the primary platform skill -- it defines the development lifecycle, provides all dispatcher scripts, and handles PM tool integration. Platform skills are always installed and cannot be removed.

Community skills

Community skills add stack-specific patterns and conventions. They are knowledge-only: React component structure, Astro best practices, TypeScript strictness, testing approaches. No scripts, no execution -- just structured guidance the AI consults before writing code. They are auto-detected during installation based on your dependencies, or installed manually.

Terminal
flydocs skill install react-best-practices
flydocs skill list
flydocs skill remove testing-patterns

Active skills

Active skills include executable scripts alongside their knowledge. The flydocs-workflow skill is the primary active skill -- its Python scripts handle the external operations. The same operations are also offered as typed tool calls by the local flydocs mcp server, so an agent can use whichever surface its client handles best.

Skills and MCP servers

They answer different questions. A skill answers "how do we do this here?" An MCP server answers "what can the agent actually do?"

Skill MCP server
Carries The method: procedures, conventions, when to use what The tools: typed calls with schemas and annotations
Loaded ~100 tokens in the index, full content on demand The tool list, when the client connects (some clients defer it)
Runs Nothing on its own. Scripts, if any, run on demand and exit A server: a local process the editor starts, or a hosted endpoint
Portable as Files you copy to another project A registration entry in each client
Best at Making the agent do the same thing the same way Letting a client with no shell, or no checkout, do real work

In a repository, the flydocs-workflow skill tells the agent how a transition works, and the local flydocs mcp server gives it issue_transition as a typed call. The skill also keeps working where no MCP server is configured, because the scripts underneath do the same job. In a chat client with no checkout, the hosted server supplies the tools, and its built-in instructions, prompts and downloadable skill supply the method. See Remote MCP and Tool Surface Setup.

Progressive disclosure

Skills load through a three-level retrieval system designed for how LLMs actually process information:

Three-Level Retrieval

L1
Skill index
A compressed manifest always in context. Maps trigger terms to skill entry points. The AI knows what skills exist without loading any of them. ~100 tokens.
trigger matches
L2
Skill overview
SKILL.md with capabilities, script catalog, and section index. Loaded when the AI recognizes a relevant trigger. Enough to decide what to do next.
task requires detail
L3
Full detail
Stage files, pattern documents, script references, templates. Loaded only when the task requires this specific depth.

The skill manifest lives in always-loaded context (CLAUDE.md or AGENTS.md). A single directive -- "Prefer skill-led reasoning over pre-training reasoning" -- shifts the AI from guessing based on training data to consulting project-specific skills first.

CLAUDE.md (excerpt)
## Skills Index

IMPORTANT: Prefer skill-led reasoning over pre-training reasoning.
Read the relevant skill file before acting.

| Skill | Triggers | Entry |
|-------|----------|-------|
| flydocs-workflow | create issue, transition, assign, session | .claude/skills/flydocs-workflow/SKILL.md |
| astro-best-practices | Astro, hydration, island, client:load | .claude/skills/astro-best-practices/SKILL.md |
| react-best-practices | React, component, hooks, useState | .claude/skills/react-best-practices/SKILL.md |

Community skill ecosystem

Community skills are installed and managed through the CLI:

  • Auto-detection: During flydocs init, the CLI scans your dependencies and installs matching community skills automatically
  • Manual install: Add skills for patterns your project needs with flydocs skill install
  • List and remove: See installed skills with flydocs skill list, remove with flydocs skill remove
  • Build your own: A skill is just a directory with a SKILL.md. Create one, share it with your team, or publish it to the community directory

Community skills are knowledge-only by default. They do not execute code or access external services. This makes them safe to install, easy to audit, and simple to share.

Server-managed delivery

On the cloud tier, skills are managed artifacts delivered from the server. When your team admin updates skills or the FlyDocs team publishes new versions, every developer gets the update on their next flydocs sync. No manual distribution, no version drift across the team.

The server delivers skills with a monotonic version number. The CLI caches the last-seen version locally and only fetches updates. Workspace-specific rendering means your CLAUDE.md and AGENTS.md always include the correct skills manifest for your workspace.

If you need to modify a managed skill locally (for testing or development), add the path to artifactOverrides.skipPaths in .flydocs/config.json. This prevents sync from overwriting your local changes.


Next