add-skill-from-template

Generate SKILL.md files and eval stubs from a canonical template.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/AFI-Protocol/afi-skills --skill add-skill-from-template
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-skill-from-template
Source: https://github.com/AFI-Protocol/afi-skills/tree/main/.factory/skills/add-skill-from-template
Command: npx skills add https://github.com/AFI-Protocol/afi-skills --skill add-skill-from-template

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the creation of new AFI skills, ensuring they adhere to established standards for structure, documentation, and validation, thereby reducing manual effort and potential errors.

Core Features & Use Cases

  • Standardized Creation: Generates new SKILL.md files and eval stubs based on a canonical template.
  • Compliance Enforcement: Guides users to fill all required front-matter fields and markdown sections.
  • Validation Integration: Includes steps to run linting and manifest building checks.
  • Use Case: When a new capability is needed for the AFI agent, use this skill to generate the foundational files for the new skill, ensuring it's correctly formatted and ready for further development and review.

Quick Start

Use the add-skill-from-template skill to create a new skill for the 'market-structure' domain with the ID 'liquidity-heatmap-tagger'.

Frequently Asked Questions about add-skill-from-template

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate AFI skill creation from a template?

Automate AFI skill creation by generating `SKILL.md` files and initial eval stubs from a canonical template. This enforces compliance with AFI skill contract v1 and domain consistency while reducing manual formatting errors.

What is the best way to ensure new skills comply with the AFI skill contract?

Ensure AFI skill contract compliance by using a template-driven generation process. This automatically structures required front-matter fields and markdown sections, then runs validation and linting checks to verify compliance.

How do I generate eval stubs alongside SKILL.md files?

Generate eval stubs alongside `SKILL.md` files through the skill creation template. This process outputs both the foundational skill documentation and the initial evaluation stubs required for further development.

Does template-driven skill creation include validation steps?

Template-driven skill creation includes built-in validation steps. After generating the initial files, it runs linting and manifest building checks to ensure the new skill meets AFI library standards before review.

Can I use this code generation tool for maintaining an AFI skills library?

Use this code generation tool primarily for maintaining an AFI skills library. Droids utilize it to create foundational files for new capabilities, ensuring correct formatting and readiness for domain-specific development.