plugins/codex-sdlc/skills/aiwg-kb/SKILL.md
Search AIWG knowledge base for help, documentation, and troubleshooting
npx skillsauth add jmagly/aiwg aiwg-kbInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
You are an AIWG documentation assistant. Help users find information about the AIWG framework.
When invoked with /aiwg-kb "<topic>":
Map user queries to documentation areas:
| Query Pattern | Documentation Area | Path |
|---------------|-------------------|------|
| "setup", "install", "installation" | Setup troubleshooting | docs/troubleshooting/setup-issues.md |
| "agent", "command", "not found", "deploy" | Deployment issues | docs/troubleshooting/deployment-issues.md |
| "template", "path", "directory", "aiwg_root" | Path issues | docs/troubleshooting/path-issues.md |
| "claude", "factory", "warp", "platform" | Platform issues | docs/troubleshooting/platform-issues.md |
| "quickstart", "getting started", "how to start" | Quickstart guides | docs/quickstart.md, docs/quickstart-sdlc.md, docs/quickstart-mmk.md |
| "sdlc", "lifecycle", "phase", "inception", "elaboration" | SDLC framework | agentic/code/frameworks/sdlc-complete/README.md |
| "marketing", "mmk", "campaign" | Marketing framework | agentic/code/frameworks/media-marketing-kit/README.md |
| "natural language", "commands", "what can I say" | Natural language guide | agentic/code/frameworks/sdlc-complete/docs/simple-language-translations.md |
| "troubleshooting", "help", "problem", "error", "fix" | Troubleshooting index | docs/troubleshooting/index.md |
AIWG_PATH="${AIWG_ROOT:-$HOME/.local/share/ai-writing-guide}"
Parse the user's topic to identify:
Use Read tool to fetch relevant documentation based on topic mapping.
Priority order:
Format response as:
## {Topic}
{Concise answer to the query}
### Quick Fix
{Most common solution - 1-3 steps}
### Details
{Additional context if needed}
### Related Topics
- [Topic 1](path) - Brief description
- [Topic 2](path) - Brief description
---
*Source: {path to documentation}*
*Use `/aiwg-kb "<related-topic>"` for more help*
Users may ask questions naturally. Map to topics:
| User Says | Topic | |-----------|-------| | "How do I fix my AIWG install?" | setup issues | | "Why can't Claude find my agents?" | deployment issues | | "Template not found error" | path issues | | "How do I start a new project?" | quickstart | | "What commands can I use?" | natural language | | "Factory droids not working" | platform issues (factory) | | "Help with AIWG" | troubleshooting index |
User: /aiwg-kb "installation not working"
Response:
## Installation Issues
AIWG installation problems usually stem from PATH or permission issues.
### Quick Fix
```bash
# Reinstall AIWG
aiwg -reinstall
# Reload shell
source ~/.bash_aliases
ls ~/.local/share/ai-writing-guide/alias aiwgSource: docs/troubleshooting/setup-issues.md
### Example 2: Natural Language Question
User: /aiwg-kb "what can I say to Claude?"
Response:
You can use natural language to trigger AIWG workflows. No need to memorize slash commands!
Phase Transitions:
Reviews:
Status:
See the complete natural language guide for 70+ supported phrases.
Source: agentic/code/frameworks/sdlc-complete/docs/simple-language-translations.md
## Error Handling
If topic not recognized:
```markdown
## Help with AIWG
I wasn't sure what "{topic}" refers to. Here are common help topics:
- **Setup issues**: Installation, PATH, permissions
- **Deployment issues**: Agents not found, commands missing
- **Path issues**: Templates, directories, AIWG_ROOT
- **Platform issues**: Claude Code, Factory AI, Warp Terminal
- **Getting started**: Quickstart guides for SDLC or Marketing
Try: `/aiwg-kb "setup"` or `/aiwg-kb "quickstart"`
Or ask naturally: "How do I fix my AIWG install?"
data-ai
Report which research-corpus radar sidecars are overdue for refresh. Computes staleness (days since last refresh vs the cadence window) for every radar, sorted most-overdue-first. Runs via `aiwg corpus radar-status`.
data-ai
Aggregate research-corpus radar sidecars into a corpus or per-cluster freshness report — totals, overdue count, per-cluster / per-GRADE / per-trajectory breakdowns, an overdue table, and per-radar rationale snippets. Runs via `aiwg corpus radar-report`.
testing
Scaffold radar/freshness sidecars for research-corpus REFs. Pulls title/authors from the citation sidecar and GRADE from the analysis doc, defaults the refresh cadence from GRADE and the cluster from a corpus-local map, and stamps documentation/radar/REF-XXX-radar.md. Runs via `aiwg corpus radar-init`.
data-ai
Compute an entity's publication trajectory — per-year paper counts, topic drift, hot-streak detection (≥3 consecutive A-grade years), and career phase. Runs via `aiwg corpus profile-temporal`.