Documentation Index
Fetch the complete documentation index at: https://docs.agentfront.dev/llms.txt
Use this file to discover all available pages before exploring further.
Generates a @Skill class with optional tool references for multi-step workflows.
Usage
nx g @frontmcp/nx:skill deploy-app --project crm
nx g @frontmcp/nx:skill deploy-app --project crm --tools docker_build,k8s_apply
Options
| Option | Type | Default | Description |
|---|
name | string | — | Required. The name of the skill |
project | string | — | Required. The project to add the skill to |
tools | string | — | Comma-separated tool names to reference |
directory | string | — | Subdirectory within src/skills/ |
Generated Code
import { Skill, SkillContext } from '@frontmcp/sdk';
@Skill({
name: 'deploy-app',
description: 'TODO: describe what this skill does',
tools: ['docker_build', 'k8s_apply'],
})
export default class DeployAppSkill extends SkillContext {
async loadInstructions(): Promise<string> {
return 'TODO: define skill instructions';
}
async build(): Promise<void> {
// TODO: implement skill build logic
}
}