skill-creator
Agentic skill creation and management for Vibe/AutoDev. This meta-skill provides: - Skill definition templates (AMX-compliant, ECM-aware, Cline-compatible) - Validation against AGENTS.md rules and AMCX-1 specifications - Worktree-isolated skill development - RED-GREEN-REFACTOR test scaffolding - Integration with AMX Memory and ECM state Use this skill to create new agentic skills that comply with: - AutoDev AGENTS.md boundaries (ForgeCore, Cline fabric purity) - AMCX-1 v1.1 AMX/ECM requirements - Vibe tool permission model - Cline Skills/Hooks/Plugins architecture
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- skill-creator
- model
- mistral-large-latest
- version
- 1.0.0
- description
- Agentic skill creation and management for Vibe/AutoDev. This meta-skill provides: - Skill definition templates (AMX-compliant, ECM-aware, Cline-compatible) - Validation against AGENTS.md rules and AMCX-1 specifications - Worktree-isolated skill development - RED-GREEN-REFACTOR test scaffolding - Integration with AMX Memory and ECM state Use this skill to create new agentic skills that comply with: - AutoDev AGENTS.md boundaries (ForgeCore, Cline fabric purity) - AMCX-1 v1.1 AMX/ECM requirements - Vibe tool permission model - Cline Skills/Hooks/Plugins architecture
- temperature
- 0
- preferred_tools
- [ "read_file", "write_file", "edit", "grep", "bash" ]
02 资源文件 3
- 脚本__init__.py727 B
- 脚本skill_creator.py31.2 KB
- 脚本templates.py48.0 KB
03 SKILL.md 正文
Skill Creator - Agentic Skill Development
Purpose: Meta-skill for creating, validating, and managing agentic skills in the AutoDev/Vibe ecosystem.
Note: This is a SELF-PROMPT skill. When invoked with /skill-creator, it guides the creation of new skills.
Capabilities
-
Skill Scaffolding
- Generate SKILL.md with proper frontmatter
- Create skill implementation files
- Set up test directories with RED phase tests
- Initialize init.py files
-
Validation
- Validate against AGENTS.md rules
- Check AMCX-1 AMX compliance
- Verify Cline fabric purity (no direct effects without tools)
- Ensure tool permissions are respected
-
Templates
- AMX Memory Skill template
- ECM Collaboration Skill template
- Evidence/Verification Skill template
- Host Adapter Skill template
- MCP Server Skill template
-
Integration
- Auto-register with ECM state
- Link to AMX memory patterns
- Add to Vibe skill discovery
Usage
Create a New Skill
# Invoke skill creator
/skill-creator
# Or programmatically
from skills.skill_creator.skill_creator import SkillCreator
creator = SkillCreator()
creator.create_skill(
name="my-new-skill",
skill_type="amx-memory", # or "ecm", "evidence", "host-adapter", "mcp-server"
description="My new skill description",
worktree_path=".worktrees/my-skill-dev/"
)
Validate a Skill
from skills.skill_creator.skill_creator import SkillCreator
creator = SkillCreator()
# Validate skill definition
report = creator.validate_skill(
skill_path="skills/my-skill/SKILL.md",
implementation_path="skills/my-skill/my_skill.py"
)
print(f"Valid: {report['valid']}")
print(f"Errors: {report['errors']}")
Use Templates
from skills.skill_creator.skill_creator import SkillCreator, templates
# Get template for AMX memory skill
template = templates.AMX_MEMORY_SKILL_TEMPLATE
print(template)
# Create from template
creator.create_from_template(
template_name="amx-memory",
output_path="skills/my-amx-skill/",
name="my-amx-skill",
description="My AMX memory implementation"
)
Skill Types
| Type | Purpose | Template | Test Scaffold |
|---|---|---|---|
amx-memory |
AMX v1.1 canonical memory | ✅ | ✅ |
ecm |
ECM collaboration state | ✅ | ✅ |
evidence |
Evidence/verification | ✅ | ✅ |
host-adapter |
Vibe tool extension | ✅ | ✅ |
mcp-server |
MCP resource server | ✅ | ✅ |
general |
General purpose | ✅ | ✅ |
AGENTS.md Compliance Rules Enforced
-
No ForgeCore Bypass
- Skills cannot execute filesystem/network/process effects without Vibe tools
- Must use
read_file,write_file,bash, etc. (not direct Python I/O)
-
Cline Fabric Purity
- Direct implementation first (S0)
- Skills for expertise, Hooks for safety, Plugins for tools
- MCP only for external systems
-
No Root Manifests
- No
Cargo.toml,package.json,pyproject.tomlat root - No
kotlin/gradle/libs.versions.tomlwithout ADR
- No
-
Tool Permissions
- Respects Vibe's config.toml allowlists
- No bypassing permission boundaries
-
Workspace Confinement
- Skills operate within worktree or designated directories
- No writing outside allowed paths
AMCX-1 Compliance Rules Enforced
-
AMX Memory
- Canonical portable memory history
- Required fields: origin, logical_identity, repository_scope, provenance, causal_ancestry, trust_validity_state, visibility, purpose, retraction_deletion_barriers, canonical_semantic_digest
-
ECM State
- Entity-Collaboration Model
- Tasks, Attempts, Roles, Messages, Leases, etc.
- Schema validation against ecm-state-v1.json
-
Evidence Records
- Verification results and freshness tracking
- Schema validation against evidence-record-v1.json
Validation Levels
# Level 1: Basic structure
creator.validate_skill(skill_path, level=1)
# Level 2: AGENTS.md compliance
creator.validate_skill(skill_path, level=2)
# Level 3: AMCX-1 compliance
creator.validate_skill(skill_path, level=3)
# Level 4: Full integration (all levels)
creator.validate_skill(skill_path, level=4) # default
RED-GREEN-REFACTOR Test Scaffolding
When creating a skill, the skill-creator automatically generates:
# In skills/my-skill/tests/test_my_skill.py
class TestMySkill(unittest.TestCase):
"""RED Phase: Tests written before implementation."""
def test_skill_import(self):
"""Should be importable."""
from skills.my_skill import MySkill
self.assertTrue(hasattr(MySkill, 'expected_method'))
def test_basic_functionality(self):
"""Should perform basic function."""
# This will FAIL initially (RED)
skill = MySkill()
result = skill.expected_method()
self.assertEqual(result, expected_value)
Integration with Existing System
The skill-creator integrates with:
- AMX Memory: Stores skill definitions as AMX memories
- ECM State: Tracks skill development as tasks/attempts
- Evidence Store: Records validation results
- Toolset Memory: Learns from skill creation patterns
Self-Prompt Invocation
When you use /skill-creator, this skill:
- Prompts for skill type and details
- Generates the skill scaffold
- Creates RED phase tests
- Validates against all compliance rules
- Registers with ECM state
- Provides next steps for GREEN phase implementation
Examples:
# Create a new AMX memory skill
creator.create_skill(
name="knowledge-base",
skill_type="amx-memory",
description="Knowledge base for project patterns",
origin="vibe:skill-creator",
logical_identity="knowledge-base-v1",
purpose={
"primary": "knowledge:storage",
"task_class": "memory:amx"
}
)
# Validate existing skill
report = creator.validate_skill("skills/knowledge-base/SKILL.md")
if not report["valid"]:
print("Validation errors:", report["errors"])
# List available templates
templates = creator.list_templates()
print(f"Available: {templates}")
Note: This skill provides the self-prompt capability. Use /skill-creator to invoke it interactively.
04 同仓库更多 Skills
engram-memory
Production Engram MCP Server for AI agent persistent memory Engram MCP Server - Persistent memory for AI agents. Provides: - SQLite-backed persistent memory storage - MCP server interface for agent access - Semantic search capabilities - Knowledge graph support - Memory lifecycle management AMCX-1 Compliance: Implements AMX memory component with MCP interface.
amx-memory
AMCX-1 v1.1 Agent Memory (AMX) canonical portable memory history implementation. Provides durable, machine-readable memory storage conforming to AMCX-1 specifications. Every memory retains: origin, logical identity, repository/worktree/project scope, provenance, causal ancestry, trust/validity state, visibility, purpose, retraction/deletion barriers, and canonical semantic digest.
vibe-setup
Load this skill when setting up, configuring, or troubleshooting Vibe in a project. Provides comprehensive guidance on: - Vibe installation and configuration - Project setup and initialization - Trusted folder and permission management - Skill discovery and loading - MCP server configuration - Integration with AutoDev's AGENTS.md rules Use this when the user needs help with Vibe environment setup.
meta-creator
Load this skill when the user requests guidance on creating new skills, MCP servers, tools, or plugins for Vibe. This is a meta-skill that provides comprehensive guidance on the entire lifecycle: - Skill creation and structure - MCP server implementation - Tool and plugin development - Vibe system setup and configuration - AMX/ECM integration patterns Use this when the user needs architectural guidance rather than direct implementation.
amx-ecm-integration
Load this skill when mapping or integrating AMX memory systems with ECM collaboration tracking and Vibe. Provides end-to-end architecture mapping for: - AMX v1.1 canonical portable memory - ECM collaboration state tracking - MCP server interfaces - Vibe skill integration - AutoDev project constraints Use this when the user needs to understand how AMX, ECM, MCP, and Vibe integrate together.
vertical-slice
Implement a smallest end-to-end usable slice.