skill-template
npx machina-cli add skill aiskillstore/marketplace/skill-template --openclawFiles (1)
SKILL.md
917 B
Skill Template
Overview
Use this folder as the starting point for a new skill.
Prerequisites
- Confirm required input paths exist.
- Prefer relative paths via
{baseDir}for portability.
Instructions
- Scout: Use
Grep/findto locate only the relevant files. - Analyze: Read the minimum set of files needed.
- Execute: Prefer deterministic scripts under
{baseDir}/scripts/. - Verify: Run validation scripts and/or tests before returning results.
Output Format
- Define a strict output format (Markdown template in
{baseDir}/assets/and/or JSON schema).
Error Handling
- If required inputs are missing, ask for them explicitly and stop.
- If any hard gate fails, return
EXIT_BLOCKEDand list blockers.
Source
git clone https://github.com/aiskillstore/marketplace/blob/main/skills/64andrewwalker/skill-template/SKILL.mdView on GitHub Overview
Use this folder as the starting point for a new DocEngineering skill, providing prerequisites, a structured workflow, and a strict output format. It guides discovery (Scout), analysis, execution of deterministic scripts, and validation, with explicit error handling.
How This Skill Works
The template uses Read/Grep/Find to scout and read only the minimum necessary files. It executes deterministic scripts under {baseDir}/scripts, and enforces a strict output format defined in {baseDir}/assets or a JSON schema, with validation steps before returning results.
When to Use It
- Starting a new DocEngineering skill from scratch
- Ensuring portability with relative paths via {baseDir}
- Enforcing reproducible builds with deterministic scripts
- Defining and validating strict output formats
- Gracefully handling missing inputs or hard-gate failures
Quick Start
- Step 1: Scout relevant files with Grep/find to locate inputs
- Step 2: Analyze the minimal required files with Read
- Step 3: Implement deterministic scripts under {baseDir}/scripts and define outputs in {baseDir}/assets or a JSON schema; run validation
Best Practices
- Confirm required input paths exist before proceeding
- Prefer relative paths using {baseDir} for portability
- Keep scripts under {baseDir}/scripts deterministic and idempotent
- Define outputs in {baseDir}/assets and/or a JSON schema
- Use explicit validation and clear blockers when inputs fail
Example Use Cases
- Scouting a new skill's files with Grep to identify relevant docs
- Reading only the minimum necessary files during Analyze
- Running a validation script before returning results
- Using EXIT_BLOCKED with a blockers list when a gate fails
- Packaging outputs under {baseDir}/assets for downstream use
Frequently Asked Questions
Add this skill to your agents