Skill Catalog
All slash commands across the four plugins -- 74 skills total
7 Skills That Cover 90% of Use Cases
New to KAI? Start with these. Everything else is for fine-tuning specific phases.
Pick Your Entry Point
You don’t need to memorize 75+ skills. These 7 cover the full development lifecycle. Each one is a coordinator that handles its phase end-to-end, including sub-steps.
| Skill | What It Does | When to Use |
|---|---|---|
| /dx-req <id> | Fetch ticket, validate readiness, distill requirements, research codebase | Starting any story or feature |
| /dx-plan | Generate implementation plan with step tracking | After requirements, before coding |
| /dx-step-all | Execute all plan steps with auto-fix on failure | Hands-free implementation |
| /dx-pr | Commit, push, create PR linked to ticket | Code is done, ready to submit |
| /dx-agent-all <id> | Full pipeline: requirements through PR in one command | Simple stories, hands-free delivery |
| /dx-figma-all <url> | Extract design, generate prototype, verify visually | Figma design-to-code |
| /dx-bug-all <id> | Triage, fix, verify, PR — full bug lifecycle | Bug reports |
Partial Flow? Jump In Anywhere
Each skill reads from local spec files, not from the previous skill’s session. So you can:
- Already have requirements? Skip to
/dx-plan - Already have a plan? Skip to
/dx-step-all - Coded manually? Skip to
/dx-step-verifythen/dx-pr - Just need a PR? Run
/dx-prdirectly
Full Skill Inventory
All skills grouped by plugin and category. The 7 primary skills above are marked with a star.
dx-core
Platform-agnostic ADO/Jira workflow: requirements, planning, execution, review, PR, bug fix, documentation, and utility.
dx-aem
AEM full-flow: component dialogs, JCR content, editorial QA, browser automation, demo capture, and documentation.
dx-hub
Multi-repo orchestration: hub init and config, repo discovery, cross-repo dispatch, and dispatch status.
dx-automation
Autonomous agent infrastructure: AWS Lambda, ADO pipelines, CloudWatch alarms.
Estimation
| Skill | Argument | Description | Output |
|---|---|---|---|
/dx-estimate | <work-item-id or URL> | Analyze ADO/Jira User Story and produce structured estimation — hours/SP, implementation plan, AEM pages, open questions. Posts as ADO/Jira comment. | ADO/Jira comment |
Requirements (dx-req-*)
| Skill | Argument | Description | Output |
|---|---|---|---|
/dx-req | <work-item-id> | Full requirements pipeline: fetch work item, validate DoR, distill dev requirements, research codebase, generate team summary. Posts interactive checkbox comment to ADO/Jira (idempotent). | All spec files + ADO comments |
/dx-req-tasks | <work-item-id> | Create child Task work items with hour estimates. | ADO/Jira tasks |
/dx-dor | <work-item-id(s)> — space-separated for batch | Validate Definition of Ready — fetch the wiki checklist, evaluate the story, post an ADO comment. Standalone at sprint start, in batch, or as part of /dx-req. | ADO comment |
/dx-req-dod | <work-item-id> | Check Definition of Done against ADO/Jira wiki checklist — validates actual deliverables: PR, tests, build, docs, child tasks. Auto-fixes what is possible, creates tasks for the rest. | dod.md |
/dx-req-import | <path-to-file> | Validate external (non-ADO) requirements document. | explain.md |
Figma (dx-figma-*)
| Skill | Argument | Description | Output |
|---|---|---|---|
/dx-figma-all | [ADO ID] [Figma URL] — both optional | Full Figma workflow: extract, prototype, verify. Coordinator skill. | All sub-skill outputs |
/dx-figma-extract | [ADO ID] [Figma URL] — both optional | Extract design context, tokens, screenshots from Figma URL. Screenshot layer analysis, relevance check. | figma-extract.md, prototype/figma-reference.png |
/dx-figma-prototype | <work-item-id> (optional) | Research project conventions (2 parallel agents) + generate high-fidelity standalone HTML/CSS prototype. | figma-conventions.md, prototype/index.html, prototype/styles.css |
/dx-figma-verify | <work-item-id> (optional) | Visually verify prototype against Figma reference screenshot. Compares, fixes gaps (max 2 rounds). | figma-gaps.md, prototype/prototype-screenshot.png |
Planning (dx-plan-*)
| Skill | Argument | Description | Output |
|---|---|---|---|
/dx-plan | <work-item-id> (optional) | Generate step-by-step implementation plan with status tracking. Optionally invokes superpowers:brainstorming for design exploration. | implement.md |
/dx-plan-validate | <work-item-id> (optional) | Verify plan covers all requirements, no extras, dependencies correct. | Warnings / OK |
/dx-plan-resolve | <work-item-id> (optional) | Research and fix risks flagged by validation. | Updated implement.md |
/dx-prep | <work-item-id> | Architect prep / hand-off: requirements + plan ahead of the sprint, plan published as a wiki child page (title from dx-prep.wiki-page-title) under the story’s existing page, [DevPlan] comment with the wiki link and next command, specs pushed. /dx-agent-all later skips the prepared phases. | docs/plan-wiki.md, wiki page |
Execution (dx-step-*)
| Skill | Argument | Description | Output |
|---|---|---|---|
/dx-step-all | <work-item-id> (optional) | Execute all plan steps autonomously (step with test, review, commit loop). Loads fix memory, logs fix patterns, promotes proven fixes to .claude/rules/. | All steps done |
/dx-step | <work-item-id> (optional) | Execute next pending step from implement.md with integrated test, review, and commit. Optionally invokes superpowers:test-driven-development. | Code changes + commit |
/dx-step-fix | <work-item-id> (optional) | Diagnose and fix a blocked step (compile error, test failure, review rejection). Escalates to root cause analysis if targeted fixes fail. Optionally invokes superpowers:systematic-debugging. | Fix applied |
/dx-step-build | none | Build and deploy using config build command, auto-fix errors iteratively. | Build pass/fail |
/dx-step-verify | <work-item-id> (optional) | 6-phase verification: compile, lint, test, secret scan, architecture, code review (max 3 fix cycles). Optionally invokes superpowers:verification-before-completion. | Verdict |
Pull Request (dx-pr-*)
| Skill | Argument | Description | Output |
|---|---|---|---|
/dx-pr | <work-item-id> (optional) | Create pull request via ADO MCP, generate description from share-plan.md. Optionally invokes superpowers:finishing-a-development-branch. | PR URL |
/dx-pr-commit | [pr] | Commit changes with ADO work item linking; add pr to also create a PR. | Git commit [+ PR] |
/dx-pr-review | <PR-id or URL> | Review a single PR — analyze diff, save findings, post to ADO with optional fix patches + vote. | Findings + ADO comments |
/dx-pr-review-all | none | Batch-review multiple open PRs assigned to you. | Multiple reviews |
/dx-pr-answer | <PR-id or URL> (optional) | Answer open PR comments with codebase context, detect proposed patches. Applies agree-will-fix code changes, commits, pushes, and replies to threads. | ADO replies + code |
/dx-pr-review-report | <PR-id or URL> | Generate categorized report from PR review — groups by category, tracks patch resolution, posts to wiki. | Report + wiki page |
/dx-pr-reviews-report | [—any] [PR URL | Repo URL | count] [count] | Batch version — lists reviewed PRs, generates a report for each, posts all to ADO Wiki or Confluence. | Reports + wiki pages |
Bug Fix (dx-bug-*)
| Skill | Argument | Description | Output |
|---|---|---|---|
/dx-bug-all | <bug-id> | Full bug workflow: triage, verify, fix. Logs bug patterns, detects component hotspots. | Bug fixed |
/dx-bug-triage | <bug-id> | Fetch bug from ADO/Jira, find affected component, save triage. | raw-bug.md, triage.md |
/dx-bug-verify | <bug-id> [before|after|qa] | Reproduce bug via Playwright. before: confirm bug. after: verify fix locally. qa: verify fix on QA post-merge. | verification.md / verification-local.md / verification-qa.md |
/dx-bug-fix | <bug-id> (optional) | Generate fix plan from triage, execute, create PR. | implement.md + PR |
Agent Roles (dx-agent-*)
| Skill | Argument | Description | Output |
|---|---|---|---|
/dx-agent-all | <work-item-id> | Full pipeline: RE, plan, develop, review, PR with checkpoints. Optionally invokes superpowers:executing-plans. | End-to-end delivery |
Documentation
| Skill | Argument | Description | Output |
|---|---|---|---|
/dx-doc-gen | <work-item-id> | Story wiki page as demo walkthrough: what changed, QA URLs, field table, dialog/preview screenshots (work-item attachments), how to test, demo script. Reads demo/demo-page.md. Without spec files it works from the story and its completed PRs. Reuses the story’s existing wiki page and merges into hand-written content. | docs/wiki-page.md, .wiki-url |
/dx-qa-handoff | <work-item-id> | Post the [QAHandoff] comment: PR, wiki link, QA pages, screenshot links, what changed. No AEM access. | qa-handoff.md |
/dx-post-merge | <work-item-id> [—skip …] | After merge + QA deploy: /aem-demo-page → /dx-doc-gen → /dx-qa-handoff. Stops if the change is not on QA yet. | post-merge-progress.md |
Quality + Utility
| Skill | Argument | Description | Output |
|---|---|---|---|
/dx-axe | <URL> [—fix] [—standard wcag2aa|wcag21aa] | Accessibility testing using axe MCP Server — analyze violations, remediate, verify. Requires Docker + Axe DevTools API key. | Violation report, fixes |
/dx-init | none (interactive) | Configure project — detect environment, generate .ai/config.yaml, README, rule templates. | .ai/ directory |
/dx-adapt | [aem-fullstack|aem-frontend|frontend] | Auto-detect project type, structure, and build commands. Saves .ai/project.yaml. | .ai/project.yaml |
/dx-doctor | [dx|aem|seed-data|auto|all] | Check health of all dx workflow files across installed plugins — config, rules, scripts, seed data, MCP, settings. | Status report |
/dx-upgrade | [dx|aem|auto|all] | Fix all issues found by dx-doctor — updates stale files, installs missing files, reports manual actions. | Upgrade report |
/dx-ticket-analyze | <work-item-id or URL> | Research ADO/Jira ticket, find all relevant source files. | Research report |
/dx-eject | [dx|aem|auto|all] | Eject plugin assets into local repo — copies all skills, agents, rules, templates so project works without plugins. | .claude/skills/, .ai/ejected/ |
/dx-help | <question> | Answer architecture questions from local .ai/ docs. | Answer |
/dx-sync | [—dry-run] [—parallel] [repo1 repo2 …] | Sync plugin updates to consumer repos — runs sync script with selected repos and options. | Sync report |
/dx-scan | [phase1|phase2|phase3|all] | Deep project scan — discover conventions from actual code, customise rule files with real values, generate seed data. Interactive. Run after /dx-init + /dx-adapt + /aem-init. | Rule files, seed data |
/dx-security | [changes|full] (default changes) | Security hardening audit — OWASP Top 10, secrets scan, dependency audit, input validation, auth review. Use before a PR or when touching user input, auth, or external integrations. | Audit report |
/dx-simplify | [file or directory] (defaults to changed files) | Reduce complexity while preserving exact behavioural equivalence. Applies Chesterton’s Fence (understand before changing) and the Rule of 500 (replace when simpler). | Simplified code |
/dx-simple | <work-item-id or URL> | Apply a small AEM change (a11y label, colour, spacing, copy, css-class, icon, focus trap) by splitting work into authoring (JCR writes) and code (file edits → PR) paths. 9 confidence gates; limits of 5 files / 50 lines / 10 JCR writes. Backs the @kai-simple SimpleAgent pipeline. | JCR writes or PR |
/dx-pattern-extract | [—dry-run] | Scan completed tickets for recurring patterns and promote them to cross-ticket knowledge. Run periodically or after finishing several tickets. | .ai/graph/nodes/patterns/ |
Decision Support
| Skill | Argument | Description | Output |
|---|---|---|---|
/dx-council | <question> or context shortcut | Run a decision through an LLM Council — 3 advisors (Critic, Architect, Operator) analyze independently, peer-review anonymously, chairman synthesizes verdict. Context shortcuts: council the plan, council the implementation. Adapted from Karpathy’s LLM Council. | council-transcript.md |
Verification + Demo
| Skill | Argument | Description | Output |
|---|---|---|---|
/aem-snapshot | <component-name> | Baseline component state before development — dialog fields, properties, pages. | aem-before.md |
/aem-demo-page | [id] [component] [—local] | Find or create the demo page, configure the component, screenshot the dialog (if changed) and the author preview. QA by default (deploy gate, upload to work item); —local while developing, with a dialog diff against the snapshot. | demo/demo-page.md, demo/<env>/*.png |
/aem-fe-verify | <component-name> | Screenshot component in wcmmode=disabled, compare against Figma/requirements, fix loop. | aem-fe-verify.md |
QA + Documentation
| Skill | Argument | Description | Output |
|---|---|---|---|
/aem-qa | <work-item-id> (optional) | Full QA agent — navigate pages, check rendering/dialogs, screenshot, create Bug tickets. | qa.json |
Recon
project knowledge and component discovery
| Skill | Argument | Description | Output |
|---|---|---|---|
/aem-init | none (interactive) | Detect AEM structure, append aem: section to .ai/config.yaml, set up project seed data. | Config update |
/aem-component | <component-name> | Find all source files, AEM pages, and dialog fields for a component (multi-platform, data-driven). | Component report |
/aem-page-search | <component-name> | Find all AEM pages using a specific component. | Page list |
/aem-refresh | none | Update .ai/project/ seed data from plugin, external docs repo, or manual sources. | Seed data files |
/aem-doctor | [components|osgi|dispatcher|all] | Check AEM project infrastructure health. | Status report |
Multi-Repo Orchestration (dx-hub-*)
fan one ticket out across sibling repos
| Skill | Argument | Description | Output |
|---|---|---|---|
/dx-hub-init | [path] (default ../.hub) | Initialise a hub directory — discovers sibling repos, merges configs, validates CLI compatibility. Run once to set up hub mode. | Hub directory |
/dx-hub-config | [show | add-repo <path> | fill-defaults | terminal-delay <seconds>] | View and edit hub configuration — add repos, fill missing defaults, adjust terminal delay. | Config update |
/dx-hub-dispatch | <id or URL> [repo-a repo-b …] [—skill /dx-agent-all] [autonomous] [—no-launch] | Dispatch a ticket to multiple repos — reads the ticket (always with its ADO project), detects involved repos by name, keywords or capabilities, and starts an independent Claude Code or Copilot CLI session in each: VS Code terminals via vscode-automator, Terminal.app, or printed commands when no launcher is available. | Parallel sessions |
/dx-hub-status | [ticket-id] [—clean] | Show status of hub dispatches — which repos are running, done, blocked, or failed. | Status report |
/dx-discover-repos | <work-item-id> | Resolve which repos a work item touches, as a four-tier cascade (explicit directive → simple-block routing → cross-repo table → LLM). Used by the KAI-HUB router pipeline to fan an agent out across repos. | Repo list |
Setup Sequence
run once in order to provision infrastructure
/auto-init /auto-provision /auto-pipelines /auto-deploy /auto-lambda-env /auto-webhooks /auto-alarms | Skill | Description |
|---|---|
/auto-init | Scaffold .ai/automation/ — generates infra.json, repos.json, .env.template. Prereq check, config questions, data bundle copy. |
/auto-provision | Create all AWS resources: DynamoDB tables, SQS DLQ, S3 bucket, SNS topic, IAM role, Lambda functions (placeholder), API Gateway. |
/auto-pipelines | Import ADO pipeline YAMLs into Azure DevOps and set all pipeline variables (LLM credentials, wiki URL, identities). |
/auto-deploy | Package and deploy Lambda code for DoR, DoD, PR Answer, BugFix, QA, DevAgent, and/or DOCAgent. Wraps lambda/deploy.sh with audit logging. |
/auto-lambda-env | Set Lambda environment variables interactively (ADO PAT, webhook secrets, DynamoDB table names, etc.). |
/auto-webhooks | Configure ADO service hooks and PR Review build validation policy. WI hooks (project-scoped, hub only) + PR Answer hook (per-repo, all profiles) + PR Review build policy (per-repo). |
/auto-alarms | Create CloudWatch alarms (DLQ depth, Lambda errors, throttles) and subscribe email to SNS alerts topic. |
/auto-test | Run a local dry-run of an automation agent against real ADO data (no posts/commits). Verify connectivity and output before going live. |
Ongoing Operations
monitoring, health, testing
| Skill | Argument | Description |
|---|---|---|
/auto-deploy | [dor|dod|pr-answer|bugfix|qa|devagent|docagent|all] | Redeploy Lambda after code changes. Safe to re-run at any time. |
/auto-doctor | none | Full health check: file integrity, ADO pipeline state, Lambda function state, env var coverage. |
/auto-status | none | Operational dashboard: DLQ depth, monthly token budget utilization, daily rate limit usage. |
Skill Dependencies
How skills chain together.
dx-req chain
dx-req (full pipeline: fetch → DoR → explain → research → share)
GATE: blocks if blocking questions exist
BA checks items → re-run reads state → re-validatesdx-agent-all chain
dx-agent-all
├─ dx-req
├─ dx-plan → dx-plan-validate → dx-plan-resolve
├─ dx-step-all
│ ├─ dx-step (includes test, review, commit)
│ └─ dx-step-fix (targeted fix + escalation)
├─ dx-step-build
├─ dx-step-verify
├─ aem-snapshot / aem-demo-page --local / aem-fe-verify (AEM, optional)
└─ dx-pr
dx-post-merge (after merge + QA deploy)
├─ aem-demo-page (QA, AEM projects)
├─ dx-doc-gen
└─ dx-qa-handoffdx-bug-all chain
dx-bug-all
├─ dx-bug-triage
├─ dx-bug-verify (needs triage)
└─ dx-bug-fix (needs triage + verify)Removed in v7
The post-merge skills were consolidated. Old commands and what replaces them.
| Removed | Use instead | Notes |
|---|---|---|
/aem-verify <component> | /aem-demo-page <component> —local | Dialog diff against the /aem-snapshot baseline, local demo page, screenshots |
/aem-verify —qa | /aem-demo-page <id> | QA is the default instance |
/aem-editorial-guide | /aem-demo-page + /dx-doc-gen | Screenshots from the demo page; the authoring section lives on the story’s wiki page (needs a work item) |
/aem-doc-gen | /aem-demo-page <id> | Screenshots uploaded as work-item attachments |
/aem-qa-handoff | /dx-qa-handoff <id> | Work item ID only, no AEM access |
/dx-doc-retro | /dx-doc-gen <id> | Retro mode starts by itself when the story has no spec files |
@AEMAfter, @AEMEditorialGuide | @AEMDemoPage | Copilot agents |
aem-after.md and demo/authoring-guide.md are no longer written or read — demo/demo-page.md replaces both. /dx-agent-all now ends at the PR; run /dx-post-merge <id> after the merge and the QA deploy. Upgrade steps: Setup → Upgrading to v7.