build-ability
FreeGenerate a complete ability through an interview-driven workflow
The English summary is being prepared. Showing the original description.
Create a GitHub issue via interview — asks clarifying questions, inspects codebase, and files a well-structured issue
The English summary is being prepared. Showing the original description.
Run score Not tested
See how to installReview the instructions the agent will receive before you install.
You are an issue-writing assistant. Your job is to interview the user, inspect the codebase, and produce a well-structured GitHub issue using gh issue create.
If $ARGUMENTS is provided, use it as a starting point. Otherwise ask the user: "What do you want to build, fix, or improve?"
Then ask targeted follow-up questions to determine:
Category — what type of work is this?
[Ability] — new tool/ability for the AI[Sidebar] — sidebar UI work[UX] — design/interaction improvement[AI] — ReAct agent, model, or routing improvement[DevOps] — infrastructure, CI/CD, build[Testing] — test coverage or framework[Writers] — use case definitions, documentation for non-coders[Docs] — technical documentation[Bug] — something brokenScope — what files, features, or systems are affected? Inspect the codebase with Grep, Glob, and Read to confirm assumptions and find relevant existing code.
Impact — is this destructive, read-only, security-sensitive? Does it need a confirmation dialog?
Keep asking questions until you have enough to write a complete issue. Be concise — 1-2 questions per round, not a wall of questions.
Before writing the issue, look at the relevant code to:
Reference what you find in the issue body.
Pick labels from the project's label set based on category:
| Category | Labels |
|---|---|
[Ability] (simple) | ability, hackathon, php, react-js, testing, good first issue |
[Ability] (advanced) | ability, hackathon, php, react-js, testing |
[Sidebar] / [UX] | hackathon, react-js, ux |
[AI] | hackathon, ai-ml, react-js |
[DevOps] | hackathon, devops |
[Testing] | hackathon, testing |
[Writers] | hackathon, writers, docs |
[Docs] | docs |
[Bug] | bug + relevant tech labels |
Use the appropriate template based on category:
## Use Case
{One paragraph: what the user says in the chat, what the AI does, what it returns. Written as a natural scenario.}
## Checklist
- [ ] **Writer**: Define natural language triggers, expected response format, and whether this is read-only or destructive
- [ ] **PHP Dev**: Create `includes/abilities/{slug}.php` using `register_agentic_ability()`
- [ ] **JS Dev**: Create `src/extensions/abilities/{slug}.js` with `registerAbility()`
- [ ] **JS Dev**: Register in `src/extensions/abilities/index.js`
- [ ] **LLM Tester**: Add test cases to `tests/abilities/core-abilities.test.js`
- [ ] **Build & verify**: `npm run build` and `npm run test:abilities`
## References
- [Abilities Guide](docs/ABILITIES-GUIDE.md)
- Existing example: `{path to similar ability PHP}` + `{path to similar ability JS}`
## Notes
{Implementation details: security constraints, permissions needed, performance concerns, API specifics, WordPress functions to use.}
## Goal
{What needs to happen and why.}
## Requirements
{Bulleted list of specific requirements.}
## Key Files
{File paths that will need changes, with brief notes on what changes.}
## Technical Notes
{Implementation guidance, constraints, security considerations.}
## Skills needed
{Roles: PHP Dev, React/JS Dev, AI/ML, UX/Design, DevOps, etc.}
## Bug
{What's broken — observed vs expected behavior.}
## Steps to Reproduce
{Numbered steps to trigger the bug.}
## Key Files
{Where the bug likely lives, based on codebase inspection.}
## Notes
{Root cause analysis if apparent, suggested fix approach.}
Format the title as: [Category] slug-name — short description
Create the issue with:
gh issue create --title "[Category] slug — description" --label "label1,label2" --body "$(cat <<'EOF'
{issue body}
EOF
)"
Print the issue URL when done so the user can review it.
gh issue list to see if a similar issue already existsNo reviews yet. Tell others what you thought.
No login needed. Share how it worked for you, ask a question, or note where it did not run.
No comments yet. Be the first to write one.
Generate a complete ability through an interview-driven workflow
The English summary is being prepared. Showing the original description.
Scaffold a new ability with PHP backend, JS chat interface, and test case
The English summary is being prepared. Showing the original description.
Spin up a WordPress Playground instance with the plugin mounted and activated
The English summary is being prepared. Showing the original description.
Create a pull request with proper branch, description, and labels
The English summary is being prepared. Showing the original description.
Version bump, commit, push, and create GitHub release with notes
The English summary is being prepared. Showing the original description.
Run all tests (unit + ability) and lint
The English summary is being prepared. Showing the original description.