ba-post-implementation
Skill9 starsChanged 6 months agoApache-2.0View on GitHub
BA Phase 5 — post-implementation completeness verification (UI tasks). Load when dispatched with mode: post-implementation after FE Dev proposes to_status: ready-for-deploy for a UI-bearing task. Cross-references the design-confirmed handoff + task DoD against the FE Dev git diff (and deployed bundle when present) and emits docs/uiux/post-implementation-reports/<task-id>.md with a qualified/unqualified verdict.
In this repository61 other files it gives its agents.
- rules/CLAUDE.mdCLAUDE.md
- acceptance-criteria-authorSkill
- adr-authorSkill
- api-contract-authorSkill
- backend-logging-traceabilitySkill
- ba-design-completenessSkill
- ba-ingestion-pipelineSkill
- ba-iteration-planningSkill
- ba-mode-augmentSkill
- ba-mode-external-sourceSkill
- ba-mode-multi-docSkill
- ba-mode-requirements-folderSkill
- ba-mode-reverse-engineerSkill
- ba-mode-single-docSkill
- be-framework-coding-standardSkill
- c4-authorSkill
- codebase-inventorySkill
- data-lifecycle-contractsSkill
- design-system-authorSkill
- docker-deploymentSkill
- external-integration-adequacySkill
- fe-framework-coding-standardSkill
- figma-canvas-layoutSkill
- figma-design-handoffSkill
- figma-requirements-extractionSkill
- figma-srs-mappingSkill
- flutter-implementationSkill
- flutter-performanceSkill
- flutter-platform-integrationSkill
- format-boundary-contractsSkill
- git-commitSkill
- incident-debuggingSkill
- intent-archaeologySkill
- kubernetes-deploymentSkill
- local-deploymentSkill
- migration-safetySkill
- observability-readinessSkill
- playwright-authorSkill
- qa-author-by-taskSkill
- qa-author-by-usSkill
- qa-execution-runnerSkill
- react-native-implementationSkill
- react-native-performanceSkill
- react-native-platform-integrationSkill
- release-readinessSkill
- rollback-readinessSkill
- sa-architecture-designSkill
- sa-brownfield-extractSkill
- secrets-config-auditSkill
- security-compliance-checklistSkill
- solution-defaultsSkill
- ssh-remote-operationsSkill
- staging-deploymentSkill
- task-sizingSkill
- <kebab-case-name-matching-folder>Skill
- test-case-authorSkill
- third-party-dependency-evaluationSkill
- ui-test-executionSkill
- ui-ux-page-scopingSkill
- user-story-authorSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 34
Compute the implementation diff: Run git diff main..HEAD against the FE Dev worktree.
- Very specific: line 69
Never produce
qualifiedagainst an absent handoff: If docs/uiux/handoffs/<task-id>.md is missing, halt with NEEDS_CONTEXT and request the …
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
BA Phase 5 — Post-Implementation Completeness Verification
When to use
You are the BA, dispatched in post-implementation mode after FE Dev proposed ready-for-deploy for a UI-bearing task. Independently verify the implementation matches the design-confirmed handoff and the task DoD (you are a fresh reviewer, never a rubber-stamp), and emit the verdict report. Mirrors Phase 3 but operates on the implementation diff.
Phase 5 — Post-Implementation Completeness Verification (UI tasks)
This phase runs after FE Dev proposes to_status: ready-for-deploy for any UI-bearing task (track: fe / be+fe, or Design sub-status: set in master plan, or Linked Surface: non-null). The Orchestrator dispatches BA in post-implementation mode (subagent_type: ba + dispatch parameter mode: post-implementation) BEFORE committing the master-plan transition.
This phase mirrors Phase 3 (design completeness against the handoff) but operates against the implementation diff. Phase 3 asks "is the design complete?"; Phase 5 asks "is the implementation complete?" Without Phase 5, the kit gates design existence rigorously but trusts implementation to self-attest — the 2026-06-04 FR-022 batch-UI silent-drop incident is what that asymmetry costs.
Trigger
- FE Dev has emitted
plan-update.jsonproposingto_status: ready-for-deployfor a UI-bearing task. - The
ui-task-readiness-guard.cjshook has already accepted the write (the artifact set —docs/uiux/handoffs/<task-id>.md,docs/uiux/refs/<task-id>.md,docs/uiux/visual-specs/<task-id>.md,docs/test-cases/by-task/<task-id>/— is present and content-complete on disk). If the hook refused, the Orchestrator routes the gap to UI/UX Designer / QA-Author / FE Dev re-dispatch first; this phase does NOT run while the artifact set is incomplete. - The Orchestrator dispatches you with:
task_id, the FE Dev worktree path (.worktrees/fe-dev-<task-id>/), and a copy of the FE Devplan-update.json(notes + DoD-scope justifications).
Procedure
- Read the design-confirmed handoff and FE refs. Open
docs/uiux/handoffs/<task-id>.md,docs/uiux/refs/<task-id>.md, anddocs/uiux/visual-specs/<task-id>.md. Build the implementation expectation list: every screen, every component, every state, every interaction, every confirm-dialog / toast / modal, every Reference Render, every Visual Composition Contract row, every Asset Export Manifest row, and every Design Element Manifest / assertion row. - Read the task DoD. Open
docs/plan/<phase>/tasks/<task-id>.md. Build the scope expectation list from each numbered Scope / sub-bullet — explicit code-path mentions, surface mentions, testID family mentions. - Compute the implementation diff. Run
git diff main..HEADagainst the FE Dev worktree. Parse the diff into: changed files, added/removed code locations, testIDs introduced, components touched. - Cross-reference each expectation against the diff.
- For each handoff-named component: locate a matching diff hunk (file path AND component name). Missing match = gap.
- For each Design Element Manifest row: locate a matching implementation trace row in
docs/uiux/refs/<task-id>.md, then verify the named code location exists in the diff or pre-existing code cited by FE Dev. Missing trace, missing code location, orplanned/not implementedstatus = gap. - For each static Figma label/option/copy/action in the manifest: grep the diff or cited source for the exact text OR for the i18n key mapped to that exact text. Missing exact copy/key = gap.
- For each form field / table column / list item field / card field / menu option / tab / chip in the manifest: verify the diff or cited source contains a matching field/column/slot/option and selector/accessibility hook when one is required.
- For each DoD-scope code-path mention: locate a matching diff hunk. Missing match = gap (unless FE Dev's
plan-update.jsonnotes carries an explicit justification per the FE Dev Self-Verification Bar rule). - For each testID family declared in
docs/instrumentation-contract.mdfor the surface: grep the diff for at least one occurrence. Zero occurrences for a family = gap. - For each Asset Export Manifest row: verify the exported file exists at the traced path, code imports/uses it, and the implementation preserves declared semantics and rendering behavior. Placeholder text/emoji/generic glyphs, invented gradients, stock images, or missing imports are gaps.
- For each Visual Composition Contract row: verify the cited layout code implements the contracted major regions, direct-child order, constraints, clipping/masks, responsive variant, and background treatment. A generic layout with the right child components is still a gap.
- For each Reference Render: require implementation screenshot evidence at the same viewport/state. For Visual-Critical surfaces, require the approved-baseline visual-diff result; absence or failure is a gap.
- Cross-reference each expectation against the deployed bundle when available. If a deploy report exists for the task at
docs/deploy-reports/<task-id>.mdreferencing a built artifact, grep the artifact for expected testIDs, static copy/i18n keys, and manifest-required fields/items where practical. (Diff-side check covers source; bundle-side check covers any tree-shaking / build-time elision that drops elements from production.) - Compose the verdict.
qualified— every handoff-named element, asset, composition row, Design Element Manifest row, assertion, and DoD scope is represented in the diff/source (or explicitly justified where allowed). Every contract-declared testID family appears in the diff or bundle, and required visual comparison evidence passes.unqualified— one or more gaps. Enumerate each gap by: handoff frame reference, DoD scope reference, missing testID family, OR contract section. Recommend the remediation shape (re-dispatch FE Dev with gap list, OR re-dispatch QA-Author by-task if missing testIDs are coverage gaps).
Output
Produce docs/uiux/post-implementation-reports/<task-id>.md:
- Summary verdict:
qualifiedorunqualified - Per-expectation verdict with specifics for any gaps
- For
unqualified: list every gap with handoff frame reference / Manifest ID / DoD scope reference / file-path expected vs file-path observed - Recommended next step:
re-dispatch-fe-dev(with gap list) orre-dispatch-qa-author-by-task(when missing coverage) - For
qualified: explicitly note "implementation matches design-confirmed handoff" so the next reader can audit the verdict
plan-update.json does NOT transition the master-plan task status. Phase 5's job is to produce the report; the Orchestrator reads the verdict and decides:
qualified→ accept FE Dev's original→ ready-for-deploytransition, proceed to DevOps.unqualified→ revert FE Dev's transition toin-progress; dispatch the recommended remediation; FE Dev / QA-Author re-runs; Phase 5 re-runs after the next FE Devready-for-deployproposal. Loop untilqualified.
Hard Rules for Phase 5
- Never produce
qualifiedagainst an absent handoff. Ifdocs/uiux/handoffs/<task-id>.mdis missing, halt withNEEDS_CONTEXTand request the Orchestrator dispatch UI/UX Designer first. The kit's design lifecycle should have already produced the handoff before FE Dev started; absence here means a prior gate failed. - Never produce
qualifiedagainst an absent visual spec or by-task TC pack. Theui-task-readiness-guard.cjshook should have blocked the upstreamplan-update.json; if you're being dispatched in Phase 5 against missing artifacts, halt withNEEDS_CONTEXTand request the kit'sui-task-readiness-guard.cjsenforcement be re-applied. - Never produce
qualifiedwhendocs/uiux/refs/<task-id>.mdlacks## Design Element Manifestor## Implementation Trace Matrix. That means FE Dev did not freeze an implementation-level design contract. - Never produce
qualifiedwhen reference-render, visual-composition, asset-export, or corresponding trace/assertion sections are missing or empty. A screen can be functionally complete while still being the wrong design. - Never accept placeholders for required assets or generic layout resemblance. Verify actual exported asset use and contracted composition, including decorative-but-rendered backgrounds and graphics.
- Never collapse manifest rows into component-level acceptance. A rendered
UserProfileCarddoes not prove thatDEM-004 Phone number,DEM-005 Department, andDEM-006 Managerare present. Verify each row. - Never invent justifications for missing diff coverage. When a Scope has zero matching diff hunks AND FE Dev's
plan-update.jsonnotes does NOT carry an explicit justification: the verdict isunqualified. Do not pattern-match "probably this was covered under another Scope" — that's exactly the discipline failure Phase 5 exists to catch. - You are a fresh reviewer, not the FE Dev's editor. You read the diff and the handoff independently and form your own verdict. If FE Dev's self-verification said "all 4 Scopes covered" and your diff scan finds Scope A absent, your verdict overrides FE Dev's claim. The kit's discipline depends on Phase 5 being an independent check — not a rubber-stamp of FE Dev's self-attestation.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

