Skip to content

Skills

Maina ships a skills package alongside the CLI. 8 skills that teach AI agents your team’s verification workflow — without requiring the CLI to be installed.

Skills are structured instruction files (SKILL.md) that any AI agent can read and follow. They work across platforms: Claude Code, Cursor, Codex, Gemini CLI.

Each skill uses progressive disclosure:

  • ~100 tokens when scanning (the agent reads the summary and decides if the skill is relevant)
  • < 5,000 tokens when activated (the agent reads the full instructions)

Skills are the knowledge layer. The CLI is the automation layer. Both use the same three engines underneath.

SkillPurposeWhen it activates
verification-workflowEnd-to-end verification process. Guides the agent through syntax check, analysis, diff filtering, and review.When the agent needs to verify code changes
context-generationFocused codebase context assembly. Teaches the agent to gather relevant context without stuffing the window.When the agent needs to understand the codebase
plan-writingStructured feature planning. Guides creation of auto-numbered feature directories with spec/plan/tasks separation.When the agent needs to plan a feature
code-reviewTwo-stage review methodology. First checks spec compliance, then code quality.When the agent needs to review code
tddTest-driven development workflow. Red-green enforcement: stubs must fail before implementation, pass after.When the agent needs to write tests
wiki-workflowCodebase knowledge compilation and querying. Guides wiki init, compile, query, and lint.When the agent needs to build or search codebase knowledge
cloud-workflowCloud sync, team prompts, and hosted verification. Guides login, sync, and cloud verify.When the agent needs to use Maina Cloud features
onboardingFirst-time setup flow. Guides init, setup, doctor, and first commit.When the agent is helping a new user get started

Skills live in the packages/skills/ directory of the Maina repository:

packages/skills/
verification-workflow/SKILL.md
context-generation/SKILL.md
plan-writing/SKILL.md
code-review/SKILL.md
tdd/SKILL.md
wiki-workflow/SKILL.md
cloud-workflow/SKILL.md
onboarding/SKILL.md

For Claude Code: Skills are discovered automatically when Maina is installed. They appear as available slash commands.

For Cursor / Windsurf / Cline / Roo Code / Continue.dev / Codex / Gemini CLI / Amazon Q / Zed / Aider: Point the agent at the skill files or include them in your project’s agent instructions.

Without the CLI: Copy the SKILL.md files into your project. An AI agent with just the skills follows the verification workflow — no CLI needed.

Each skill follows the same structure:

The skill declares when it should activate. For example, the verification-workflow skill triggers when the agent is about to commit or submit code for review.

The skill instructs the agent to gather relevant context:

  • Read the constitution (.maina/constitution.md)
  • Check the current plan (.maina/features/*/plan.md)
  • Look at the diff being verified

The skill provides a sequence of steps. For the verification-workflow skill:

  1. Run syntax check (Biome)
  2. Run parallel analysis tools
  3. Filter to changed lines only
  4. Check for AI slop patterns
  5. Generate fixes if needed
  6. Review against spec, then against quality

Every skill ends with verification — the agent confirms the output meets the project’s standards before proceeding. This is the core Maina principle: verify before merge.

CapabilityCLIMCPSkills
Runs tools directlyYesYesNo (guides the agent)
Works without installationNoNoYes
Cross-platformTerminal onlyMCP-compatible IDEs (12+)Any AI agent
Requires BunYesYesNo
Uses three enginesDirectlyVia delegationVia instructions

Skills are designed for the case where you want the verification workflow but cannot or do not want to install the CLI. The agent follows the same methodology, using whatever tools are available in its environment.