issue
무료Create a GitHub issue via interview — asks clarifying questions, inspects codebase, and files a well-structured issue
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Generate a complete ability through an interview-driven workflow
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
실행 점수 미검증
설치 방법 보기설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.
Generate a complete WP-Agentic-Admin ability (PHP backend + JS frontend + index + tests) through an interview-driven workflow. If the user provides an ability name with the command (e.g., /build-ability theme-list), use it directly.
If no ability name was provided, ask for it (kebab-case format).
Then ask these questions (batch into 1-2 messages, skip any already answered):
core/* abilities)Derive from the answers:
readonly, destructive, idempotent annotationsrequiresConfirmation is neededparseIntent is needed (if input comes from natural language)permission_callback capability (default: manage_options)Before generating code, read these files to match project conventions:
src/extensions/abilities/plugin-list.js + includes/abilities/plugin-list.phpsrc/extensions/abilities/cache-flush.js + includes/abilities/cache-flush.phpsrc/extensions/abilities/revision-cleanup.js + includes/abilities/revision-cleanup.phpsrc/extensions/abilities/revision-cleanup.jssrc/extensions/abilities/plugin-activate.js + src/extensions/abilities/shared/plugin-helpers.jssrc/extensions/abilities/index.js — to see current registration patterntests/abilities/core-abilities.test.js — to see test case formatAlso read the full patterns reference: references/ability-patterns.md
Create files in this order:
File: includes/abilities/{name}.php
Rules:
agentic_admin_register_{snake} and agentic_admin_execute_{snake}permission_callbackinput_schema with top-level default for optional/no-input abilitiesoutput_schemaannotations matching the operation typearray( 'success' => bool, 'message' => string, ... )array( 'key' => 'value' ) not array('key'=>'value')File: src/extensions/abilities/{name}.js
Rules:
register{PascalCase}label and description must be string literals (test loader uses regex)label: action-oriented, for LLM system prompt (e.g., "List installed plugins with status")description: one sentence under 30 words, explains when to use this toolkeywords: array of lowercase trigger wordssummarize(): human-readable summary, handle error case (!result.success)interpretResult(): plain-English for LLM, concise single-line format preferredexecute(): call executeAbility() with the ability ID and paramsrequiresConfirmation: true for destructive, false otherwiseregisterAbility( 'id', { ... } ) not registerAbility('id', {...})File: src/extensions/abilities/index.js
Add:
registerAllAbilities()File: tests/abilities/core-abilities.test.js
Add 2-3 test cases with different phrasings to the tests array.
If the ability belongs to a family with existing helpers, import and use them. If creating a new family, create:
includes/abilities/shared/{domain}-helpers.phpsrc/extensions/abilities/shared/{domain}-helpers.jsRun these commands:
npx wp-scripts lint-js src/extensions/abilities/{name}.js
composer lint -- includes/abilities/{name}.php
npm run build
Fix any lint errors before finishing.
Print a summary:
npm run test:abilities -- --file tests/abilities/core-abilities.test.js아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.
로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.
아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.
Create a GitHub issue via interview — asks clarifying questions, inspects codebase, and files a well-structured issue
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Scaffold a new ability with PHP backend, JS chat interface, and test case
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Spin up a WordPress Playground instance with the plugin mounted and activated
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Create a pull request with proper branch, description, and labels
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Version bump, commit, push, and create GitHub release with notes
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Run all tests (unit + ability) and lint
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.