Skip to main content

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.md-based skill bundle (a directory containing SKILL.md plus optional references/). This is the markdown-only skill format — useful when a skill is documentation-driven rather than backed by a @Skill class. For class-based skills with @Skill decorators, use the Skill Generator instead.

Usage

nx g @frontmcp/nx:skill-dir code-review --project crm --description "Walk a reviewer through a PR"

Options

OptionTypeDefaultDescription
namestringRequired. Skill name (kebab-case)
projectstringRequired. The project to add the skill to
descriptionstringRequired. Short description of the skill
directorystringskillsCustom directory relative to the project root
tagsstringComma-separated tags for categorization
withReferencesbooleanfalseInclude a references/ directory

Generated Files

<project>/skills/<name>/
├── SKILL.md          # Frontmatter + skill content
└── references/       # (only when --withReferences)

Generated SKILL.md

---
name: code-review
description: Walk a reviewer through a PR
tags: [review, quality]
---
# code-review

Add your skill instructions here.

## Steps

1. First step
2. Second step
3. Third step

When to Use This vs @Skill

  • Use skill-dir for purely documentation-driven skills (markdown-only) that don’t need executable behavior or DI access.
  • Use skill when you need a TypeScript class with access to providers, hooks, or other SDK runtime features.