Generate PR description and create pull request using workflow specialist
Orchestrates PR creation with CMS-specific analysis and parallel quality checks.
/plugin marketplace add kanopi/cms-cultivator/plugin install cms-cultivator@claude-toolboxticket-numberSpawn the workflow-specialist agent using:
Task(cms-cultivator:workflow-specialist:workflow-specialist,
prompt="Create a comprehensive pull request for the user's changes. Analyze git changes, detect CMS-specific modifications (Drupal/WordPress), orchestrate quality checks by spawning specialists in parallel as needed, generate PR description following project template, and create the pull request using gh CLI. Ticket number: [use argument if provided]")
The workflow specialist will:
gh pr create with approved description# 1. Commit and push your changes
git add .
git commit -m "Your commit message"
git push -u origin feature-branch
# 2. Run this command
/pr-create
# Or with ticket number:
/pr-create PROJ-123
This command spawns the workflow-specialist agent, which orchestrates the entire PR creation workflow. The workflow specialist uses the commit-message-generator skill and delegates to other specialists for comprehensive quality checks.
The workflow specialist will intelligently spawn other agents in parallel based on your changes:
security-specialist checks for OWASP vulnerabilities, input validation, SQL injection risksaccessibility-specialist validates WCAG compliance, semantic HTML, ARIA usagetesting-specialist analyzes test coverage and generates test plansAll specialist findings are compiled into a unified PR description with prioritized action items.
The workflow specialist generates descriptions following this structure:
## Description
Teamwork Ticket(s): [PROJ-123](link)
- [ ] Was AI used in this pull request?
> As a developer, I need to...
[Comprehensive summary of changes and goals]
## Acceptance Criteria
* Extracted from code changes
* Specific, testable criteria
* Admin paths and validation steps
## Assumptions
* Known issues or limitations
* Environment-specific notes
## Steps to Validate
1. Direct links to test sites
2. Explicit testing instructions
3. Expected outcomes
## Affected URL
[link_to_multidev_or_test_site]
## Deploy Notes
[Dependencies, config imports, database updates, cache clearing]
The workflow specialist verifies:
gh) is installed and authenticatedProvide ticket number as argument:
/pr-create PROJ-123
Or let the workflow specialist extract it from:
feature/PROJ-123-descriptionPROJ-123The workflow specialist handles:
gh auth loginThe workflow specialist can add:
--label bug,enhancement--reviewer username1,username2--assignee username--draft--project "Project Name"Just mention these in your request:
/pr-create PROJ-123 - mark as draft and assign to me
The workflow specialist detects and documents:
config/sync/*.yml → Config import requiredhook_update_N() → Database updates neededmodules/custom/ → Module dependencies*.services.yml → Service definitions*.routing.yml → New endpoints*.permissions.yml → Permission changesThe workflow specialist detects and documents:
functions.phpblocks/ directoriesacf-json/ exportsmu-plugins/ changes/pr-commit-msg - Generate commit message first/pr-review self - Self-review before creating PR/pr-release - Create release PR with changelogworkflow-specialist - Orchestrates PR creation with parallel specialist delegation for comprehensive quality checks.
Before (manual PR creation):
With workflow-specialist:
/pr-createCreates Pull Requests automatically by analyzing your Git changes for a smoother workflow.
/pr-create> 不再推薦:請優先使用 `/pr-create-smart` 生成高質量的 PR 描述草稿,然後使用 gh/GUI 創建 PR。本命令属于“端到端自動創建 PR(保留模板、自動打標簽、創建 Draft)”的旧方案,仅為兼容保留。
/pr-createCriação automática de PR baseada em análise de mudanças Git para um workflow eficiente de Pull Request.