Complete
Complete task: validate, document, review, commit, and merge to develop. Use when all implementation is done and ready to finalize.
MCP get_skill({ skillId: "complete-94807d6d" })Use this skill with your agent
Create a free account and connect via MCP
# /complete
Complete a task with full validation, documentation updates, reviews, and automatic merge to develop.
## Usage
```bash
/complete careerbrain 002 # Complete specific issue
/complete careerbrain # Complete current/active issue
```
## What It Does
1. Validate PLAN completion and spec compliance
2. Update all project documentation
3. Create final commit with doc changes
4. Run mandatory code review + security audit
5. Merge to develop branch
6. Clean up feature branch
**GitFlow Pattern**: `feature/*` ā `develop` (automatic) | `develop` ā `main` (requires PR)
## Prerequisites
- All implementation complete (code written)
- Active issue with completed work
- PLAN.md exists with phases mostly complete
## Execution Flow
### 1. Check PLAN.md Completion
```
ā All phases complete (5/5)
or
ā Incomplete phases:
- [ ] 1.3 - Implement session refresh
```
### 2. Spec Compliance Validation
**Acceptance Scenario Coverage:**
- Search tests matching each Given/When/Then scenario
- Create missing tests if needed
**Success Metrics Verification:**
- Check performance, coverage, accessibility
**Out-of-Scope Enforcement:**
- Scan for code that violates out-of-scope items
**Agent Constraints Check:**
- Verify no dependencies added (if constrained)
- Check no files outside scope modified
### 3. Update Spec Status Markers
If the TASK has an `implements:` field, update inline status markers in the spec:
```markdown
# Before (in spaces/[project]/docs/specs/*.md)
- š§ User registration with email/password
# After
- ā
User registration with email/password
```
This provides public visibility into what's implemented.
### 4. Update All Documentation
Scan and validate ALL docs in `spaces/[project]/docs/`:
- architecture-overview.md
- data-model.md
- api-overview.md
- README.md
### 5. Update CHANGELOG
**MANDATORY**: Add entries under `[Unreleased]` section.
Categories:
- `### Added` - New features (TASKs)
- `### Fixed` - Bug fixes (BUGs)
- `### Changed` - Modifications
- `### Security` - Security updates
### 6. Final WORKLOG Entry
```markdown
## YYYY-MM-DD HH:MM - COMPLETED
Issue ### complete and ready for merge.
Summary:
- [What was implemented]
- [What was deferred]
```
### 7. Update Status
Set issue frontmatter: `status: complete`
### 8. Create Final Commit
Stage and commit documentation changes.
### 9. Run Final Reviews
If not already done:
1. Launch code-reviewer agent
2. Launch security-auditor agent
3. Block if CRITICAL issues
### 10. Merge to Develop
```bash
git checkout develop
git pull origin develop
git merge --no-ff feature/###-slug
git push origin develop
git branch -d feature/###-slug
```
### 11. Suggest Next Steps
```
Next actions:
1. Start next task: /implement project ### --full
2. View status: /project-status project
3. Merge to main (requires PR): gh pr create --base main --head develop
```
## Documentation Checklist
Before merge, verify:
1. **PLAN.md** - All phases checked off
2. **Linked SPEC** - Updated to reflect what was built
3. **architecture-overview.md** - Reflects changes
4. **ADRs** - New decisions documented
5. **CHANGELOG.md** - User-facing changes
6. **WORKLOG.md** - Final summary
7. **README.md** - Updated if API changed
## Workflow
```
/issue ā /plan ā /implement ā /commit ā /complete
ā
Update docs + CHANGELOG
ā
Run reviews
ā
Merge to develop
```Related Skills
More skills in Software Engineering
Accessibility Standards
Comprehensive web accessibility standards based on WCAG 2.2 AA, with 38+ anti-patterns, legal enforcement context (EAA, ADA Title II), WAI-ARIA patterns, and framework-specific fixes for modern web frameworks and libraries.
Accord
Authoring unified specification packages across Business/Development/Design teams via staged elaboration (L0 Vision ā L1 Requirements ā L2 Team Detail ā L3 Acceptance Criteria). No code. Use when authoring cross-team specs, building L0-L3 packages, or aligning Biz/Dev/Design on a single source of truth.
Acquire Codebase Knowledge
Use this skill when the user explicitly asks to map, document, or onboard into an existing codebase. Trigger for prompts like "map this codebase", "document this architecture", "onboard me to this repo", or "create codebase docs". Do not trigger for routine feature implementation, bug fixes, or narrow code edits unless the user asks for repository-level discovery.
Acreadiness Assess
Run the AgentRC readiness assessment on the current repository and produce a static HTML dashboard at reports/index.html. Wraps `npx github:microsoft/agentrc readiness` and hands off rendering to the @ai-readiness-reporter custom agent. Supports policies (--policy) for org-specific scoring. Use when asked to assess, audit, or score the AI readiness of a repo.
Acreadiness Generate Instructions
Generate tailored AI agent instruction files via AgentRC instructions command. Produces .github/copilot-instructions.md (default, recommended for Copilot in VS Code) plus optional per-area .instructions.md files with applyTo globs for monorepos. Use after running /acreadiness-assess to close gaps in the AI Tooling pillar.
Acreadiness Policy
Help the user pick, write, or apply an AgentRC policy. Policies customise readiness scoring by disabling irrelevant checks, overriding impact/level, setting pass-rate thresholds, or chaining org baselines with team overrides. Use when the user asks about strict mode, AI-only scoring, custom weights, CI gating, or wants org-wide standardisation.
Explore Other Categories
Skills from other categories with shared topics
Brief
Create or update project brief through interactive discovery. Use when starting any new idea, revisiting an idea after time away, or when vision feels unclear.
Critique
Challenge idea assumptions with skeptical VC-style evaluation. Use when user requests critique, validation, or 'is this a good idea' assessment.
Daily Review
Complete daily journal review. Use at end of day or next morning to fill in journal sections, review highlights, and plan tomorrow. Triggers on "daily review", "end of day", "journal review", "what did I do today".