mcpField
T
template-skill

template-skill

github.com/flagos-aiAgent workflows2245 installsUpdated 15w ago
Repository

About template-skill

template-skill is a scaffold for writing agent skill documentation. It provides sections for prerequisites, step-by-step execution, verification, examples, and troubleshooting, with placeholders to customize.

Key features

  1. 01Overview and activation guidance
  2. 02Prerequisite checklist
  3. 03Step-by-step execution sections
  4. 04Verification instructions
  5. 05Usage example templates
  6. 06Troubleshooting table

Use cases

  1. 01Draft documentation for a new agent skill
  2. 02Organize skill prerequisites and workflow
  3. 03Add examples and verification steps
  4. 04Document common problems and fixes

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/flagos-ai/skills --skill template-skill

After installing, type/template-skillin Claude Code to confirm it loaded.

Details

From the project README

Skill Name

Overview

Brief explanation of:

  • What problem this skill solves
  • When it should be activated
  • Expected inputs and outputs

Prerequisites

  • List environment requirements
  • Required tools, packages, or access

Execution

Step 1: First action

-> Tell user: Status update

Explain what to do, with executable examples:

command --example
Step 2: Second action

-> Tell user: Status update

Continue the workflow.

Step 3: Verification

Verify the result:

verification_command

-> Tell user: Report results. On failure, diagnose and fix.

Examples

Example 1: Typical usage

User says: "/skill-name argument"
Actions:
  1. Parse input
  2. Execute workflow
  3. Verify result
Result: Description of expected outcome

Example 2: Edge case

User says: "alternative trigger phrase"
Actions:
  1. Handle the edge case
  2. Adapt workflow accordingly
Result: Description of expected outcome

Troubleshooting

ProblemCauseFix
Common error 1Typical causeHow to fix
Common error 2Typical causeHow to fix

Comments

Markdown supported