From nx
Use when creating new nx plugin skills, editing existing skills, or verifying skill quality before committing
npx claudepluginhub hellblazer/nexus --plugin nxThis skill uses the workspace's default tool permissions.
Guide for authoring skills in the nx Claude Code plugin. Skills are reference guides for proven techniques, patterns, or tools that help future Claude instances find and apply effective approaches.
Provides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
Analyzes competition with Porter's Five Forces, Blue Ocean Strategy, and positioning maps to identify differentiation opportunities and market positioning for startups and pitches.
Share bugs, ideas, or general feedback.
Guide for authoring skills in the nx Claude Code plugin. Skills are reference guides for proven techniques, patterns, or tools that help future Claude instances find and apply effective approaches.
Methodology: TDD-for-documentation — write pressure scenarios (test cases), verify baseline behavior without the skill, then write the skill and verify compliance.
Three fields. Max 1024 characters total:
---
name: skill-name-with-hyphens
description: Use when [specific triggering conditions]
effort: low|medium|high
---
name: Letters, numbers, hyphens onlydescription: MUST start with "Use when". Describe triggering conditions, NEVER summarize workflow.effort: Reasoning depth hint — low (reference/lookup), medium (guided workflow), high (deep analysis/critique)Agent-delegating skills (majority): Invoke a specific agent via Agent tool relay.
CI-enforced required sections (test_plugin_structure.py will fail without these):
## Success Criteria## Agent-Specific PRODUCE — T1/T2/T3 outputsscratch (T1 scratch tier acknowledgment)Also expected:
## When This Skill ActivatesHybrid skills (e.g., query): Do significant direct work AND dispatch agents. These are still classified as agent-delegating — they must have all four CI-enforced sections above. If a skill dispatches agents at any point, it is agent-delegating.
Standalone skills (nexus, serena-code-nav, cli-controller, brainstorming-gate, using-nx-skills, writing-nx-skills): Provide guidance directly without agent delegation. Listed in _STANDALONE_SKILLS in tests/test_plugin_structure.py.
Required sections:
## When This Skill Activates## Success Criteria (optional for pure reference)Discipline skills (brainstorming-gate): Enforce process rules. Required sections:
<HARD-GATE> or <EXTREMELY-IMPORTANT> blocksUse explicit markers, not file paths:
**REQUIRED SUB-SKILL:** Use nx:skill-name for [purpose]**REQUIRED BACKGROUND:** Understand nx:skill-name before using this skillNever use @ syntax (force-loads files, burns context).
Agent-delegating skills reference the canonical relay template:
## Agent Invocation
Use the Agent tool with standardized relay format.
See [RELAY_TEMPLATE.md](../../agents/_shared/RELAY_TEMPLATE.md) for required fields and examples.
Do NOT inline the relay template. One source of truth: agents/_shared/RELAY_TEMPLATE.md.
Skills that produce outputs must document which tiers they use:
After creating a skill, update nx/registry.yaml:
agents: — add model, skill, slash_command, triggers, and entry in model_summarystandalone_skills: with tools and triggersrdr_skills: with slash_command and triggersnaming_aliasesWhen adding a new skill, also add it to nx/skills/using-nx-skills/SKILL.md routing tree. This file is injected every session — if your skill isn't listed there, it won't be discovered.
Never instruct agents to use /beads:update <id> --description "..." for multi-line or markdown content. Shell escaping silently destroys backticks (executed as command substitution), $variables (expanded to empty), and nested quotes (break argument boundaries). No error is raised — the command reports success with mangled data.
Correct pattern: Write content to a temp file via the Write tool, then use --body-file:
Step 1 — Write enriched content using the Write tool (file_path: /tmp/bead-<id>.md)
Step 2 — /beads:update <id> --body-file /tmp/bead-<id>.md
Short single-phrase values (e.g. --design "revised scope") are safe. The bug only affects multi-line content with markdown formatting.
This applies to --description, --notes, --design, and any flag that accepts free-text content longer than a simple phrase. Use --body-file or --design-file respectively.
CI-enforced (tests will break):
name, description, and effort — only these three fields## Agent-Specific PRODUCE sectionscratch somewhere in text## Success Criteria section../../agents/_shared/ cross-references resolve to existing filesConvention (not CI-enforced but expected):
effort matches skill type (low=reference, medium=workflow, high=analysis)nx/registry.yaml (including model_summary for agent skills)using-nx-skills routing treeVerify before committing:
uv run pytest tests/test_plugin_structure.py -k "skill_name" -v
Run structural validation:
pytest tests/test_plugin_structure.py -v -k "skill_name"
For behavioral testing, follow TDD-for-documentation — create pressure scenarios, test baseline without skill, verify compliance with skill.