Enforces 5 quality gates (code standards, tests, architecture, security) before completing tasks, moves to completed/, updates project_state.md, suggests next task. Blocks on failures.
From drupal-dev-frameworknpx claudepluginhub camoa/claude-skills --plugin drupal-dev-frameworkThis skill uses the workspace's default tool permissions.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Implements structured self-debugging workflow for AI agent failures: capture errors, diagnose patterns like loops or context overflow, apply contained recoveries, and generate introspection reports.
Finalize tasks and update project memory.
Load before completing any task:
| Reference | Enforces |
|---|---|
references/quality-gates.md | Gates 2, 3, 4 (must ALL pass) |
| dev-guides: https://camoa.github.io/dev-guides/drupal/security/ | Gate 4 security review |
Activate when you detect:
/drupal-dev-framework:complete commandTask CANNOT be completed until ALL gates pass:
| Gate | Check | Blocking? |
|---|---|---|
| Gate 1 | Code standards (invoke code-pattern-checker) | YES |
| Gate 2 | Tests pass (user confirms) | YES |
| Gate 3 | Architecture compliance | YES |
| Gate 4 | Security review | YES |
Use Read on the task file: {project_path}/implementation_process/in_progress/{task}.md
Check each acceptance criterion. Ask user:
Completion checklist for {task_name}:
Acceptance Criteria:
- [ ] {criterion 1} - Is this done?
- [ ] {criterion 2} - Is this done?
- [ ] {criterion 3} - Is this done?
Confirm all acceptance criteria are met (yes/no):
If NO, identify what's remaining and continue working.
ALL gates must pass before completion:
Invoke code-pattern-checker skill on modified files.
\Drupal::service() in new codeAsk user to confirm:
Tests verification (user must run):
ddev phpunit {test_path}
- [ ] All existing tests pass?
- [ ] New code has test coverage?
- [ ] No skipped tests without documented reason?
Confirm tests pass (yes/no):
Check against architecture/main.md:
https://camoa.github.io/dev-guides/drupal/security/ for detailed security guidanceIf ANY blocking gate fails: Task completion is BLOCKED. Fix issues first.
Use Edit to add completion section to the task file:
---
## Completion
**Completed:** {YYYY-MM-DD}
**Final Status:** Complete
### Summary
{Brief description of what was implemented}
### Files Changed
| File | Action |
|------|--------|
| src/... | Created |
| tests/... | Created |
| *.services.yml | Modified |
### Test Results
- Unit tests: {count} passing
- Kernel tests: {count} passing
- Total: All passing
### Notes
{Any implementation notes, deviations, or decisions made}
Use Bash to move the task:
mv "{project_path}/implementation_process/in_progress/{task}.md" "{project_path}/implementation_process/completed/{task}.md"
Use Edit to update:
## Progress
### Completed Tasks
| Task | Completed | Notes |
|------|-----------|-------|
| {task_name} | {date} | {one-line summary} |
## Current Focus
{Update to next task or "Ready for next component"}
Use Glob to find remaining tasks:
{project_path}/implementation_process/in_progress/*.md
Analyze dependencies and priorities. Present:
Task complete: {task_name}
Next task options:
1. {next_task} - {reason: dependency unblocked / priority}
2. {alternative} - {reason}
3. No more tasks - component complete
Which task next? (1/2/3 or other):
If this was the last task for a component, suggest:
Component {name} appears complete.
Run final validation?
- superpowers:verification-before-completion
- Full test suite
- Integration tests
Proceed? (yes/no)
STOP and wait for user: