Loading...
Loading...
Adapts a Claude global skill into project-specific development guidelines in .trellis/spec/. Creates guideline sections, code example templates with .template suffix, and updates spec indexes. Use when integrating an external Claude skill, adding a new skill's patterns to project conventions, or incorporating third-party skill best practices into .trellis/spec/ documentation.
npx skill4agent add mindfold-ai/trellis integrate-skill/trellis:integrate-skill <skill-name>/trellis:integrate-skill frontend-design
/trellis:integrate-skill mcp-builder[!] Important: The goal of skill integration is to update development guidelines, not to generate project code directly.
- Guidelines content -> Write to
.trellis/spec/cli/{target}/doc.md- Code examples -> Place in
.trellis/spec/cli/{target}/examples/skills/<skill-name>/- Example files -> Use
suffix (e.g.,.template) to avoid IDE errorscomponent.tsx.templateWhereis{target}orfrontend, determined by skill type.backend
openskills read <skill-name># Available skills are listed in AGENTS.md under <available_skills>| Skill Category | Integration Target |
|---|---|
UI/Frontend ( | |
Backend/API ( | |
Documentation ( | |
Testing ( | |
doc.md@@@section:skill-<skill-name>
## # <Skill Name> Integration Guide
### Overview
[Core functionality and use cases of the skill]
### Project Adaptation
[How to use this skill in the current project]
### Usage Steps
1. [Step 1]
2. [Step 2]
### Caveats
- [Project-specific constraints]
- [Differences from default behavior]
### Reference Examples
See `examples/skills/<skill-name>/`
@@@/section:skill-<skill-name># Directory structure ({target} = frontend or backend)
.trellis/spec/cli/{target}/
|-- doc.md # Add skill-related section
|-- index.md # Update index
+-- examples/
+-- skills/
+-- <skill-name>/
|-- README.md # Example documentation
|-- example-1.ts.template # Code example (use .template suffix)
+-- example-2.tsx.template<name>.<ext>.templatecomponent.tsx.template<name>.config.templatetailwind.config.templateREADME.mdindex.md| <Skill-related task> | <Section name> | `skill-<skill-name>` |<skill-name>.trellis/spec/cli/{target}/| Skill Requirement | Project Status | Compatibility |
|---|---|---|
| [Tech 1] | [Project tech] | [OK]/[!]/[X] |
| Type | Path |
|---|---|
| Guidelines doc | |
| Code examples | |
| Index update | |
={target}orfrontendbackend
# Install required dependencies (adjust for your package manager)
npm install <package>
# or
pnpm add <package>
# or
yarn add <package>@@@section:skill-<name>doc.mdindex.mdexamples/skills/<name>/.template/trellis:create-command use-<skill-name> Use <skill-name> skill following project guidelines| Skill | Integration Target | Examples Directory |
|---|---|---|
| | |
| | |
| | |
| | N/A (documentation workflow only) |
mcp-builder.trellis/spec/cli/backend/
|-- doc.md # Add MCP section
|-- index.md # Add index entry
+-- examples/
+-- skills/
+-- mcp-builder/
|-- README.md
|-- server.ts.template
|-- tools.ts.template
+-- types.ts.template@@@section:skill-mcp-builder
## # MCP Server Development Guide
### Overview
Create LLM-callable tool services using MCP (Model Context Protocol).
### Project Adaptation
- Place services in a dedicated directory
- Follow existing TypeScript and type definition conventions
- Use project's logging system
### Reference Examples
See `examples/skills/mcp-builder/`
@@@/section:skill-mcp-builder