Skip to main content
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

OptionTypeDefaultDescription
namestringRequired. The name of the skill
projectstringRequired. The project to add the skill to
toolsstringComma-separated tool names to reference
directorystringSubdirectory 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
  }
}