用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/jmagly/aiwg --skill aiwg-kb命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| namespace | aiwg |
| name | aiwg-kb |
| platforms | ["all"] |
| description | Search AIWG knowledge base for help, documentation, and troubleshooting |
| commandHint | {"argumentHint":"<topic> [--interactive] [--guidance \"text\"]","allowedTools":"Read, Glob, Grep","model":"haiku","category":"sdlc-help","modelRole":"efficiency","modelTier":"economy"} |
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?"