بنقرة واحدة
switcher-ui-worker
Implement polished account-switcher UI across Settings, Dashboard, and Popover.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Implement polished account-switcher UI across Settings, Dashboard, and Popover.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Implement a bounded OpenBurnBar Windows parity milestone from reviewed VAL contracts with main-app composition, focused tests, baseline discipline, and Windows-host evidence preparation.
Runs a long-running mission using the Zenith continuous-improvement harness to dynamically orchestrate workers, testing, and stopping discipline.
Design consultation: understands your product, researches the landscape, proposes a complete design system (aesthetic, typography, color, layout, spacing, motion), and generates font+color preview pages. Creates DESIGN.md as your project's design source of truth. For existing sites, use /plan-design-review to infer the system instead. Use when asked to "design system", "brand guidelines", or "create DESIGN.md".
Use when asked about AI-agent spend, token usage, session history, workflow patterns, or cost investigations. Grounds all answers in OpenBurnBar/BurnBar local data via prompt context and MCP tools.
Run OpenBurnBar functional QA and write qa-results/report.md plus supporting artifacts.
Design finalization: generates production-quality Pretext-native HTML/CSS. Works with approved mockups from /design-shotgun, CEO plans from /plan-ceo-review, design review context from /plan-design-review, or from scratch with a user description. Text actually reflows, heights are computed, layouts are dynamic. 30KB overhead, zero deps. Smart API routing: picks the right Pretext patterns for each design type. Use when: "finalize this design", "turn this into HTML", "build me a page", "implement this design", or after any planning skill. Proactively suggest when user has approved a design or has a plan ready. (gstack) Voice triggers (speech-to-text aliases): "build the design", "code the mockup", "make it real".
| name | switcher-ui-worker |
| description | Implement polished account-switcher UI across Settings, Dashboard, and Popover. |
NOTE: Startup and cleanup are handled by worker-base. This skill defines the work procedure.
Use for UI features on Settings/Dashboard/Popover including profile management controls, switch actions, status/error/empty states, and accessibility behavior.
None.
DESIGN.md and .factory/library/architecture.md.fulfills IDs and map each to visible UI behavior.xcodebuild test -only-testing:...scripts/test-openburnbar-app.sh{
"salientSummary": "Added account-switcher UI to Settings, Dashboard, and Popover with consistent BurnBar styling, keyboard parity, and actionable error states.",
"whatWasImplemented": "Implemented profile management form and list UX in Settings, quick switch controls in Dashboard and Popover, and deterministic status transitions for switch/launch actions including empty/loading/error paths.",
"whatWasLeftUndone": "",
"verification": {
"commandsRun": [
{
"command": "xcodebuild test -project OpenBurnBar.xcodeproj -scheme OpenBurnBar -destination \"platform=macOS,arch=arm64\" -only-testing:\"OpenBurnBarTests/SwitcherUITests\"",
"exitCode": 0,
"observation": "Switcher UI contract tests passed."
},
{
"command": "scripts/test-openburnbar-app.sh",
"exitCode": 0,
"observation": "App test suite passed with switcher changes."
}
],
"interactiveChecks": [
{
"action": "Manual: create profile in Settings and switch from Dashboard/Popover",
"observed": "Active state and visual indicators updated consistently."
}
]
},
"tests": {
"added": [
{
"file": "AgentLensTests/Active/SwitcherUITests.swift",
"cases": [
{
"name": "test_dashboardShowsActiveSwitcherState",
"verifies": "Dashboard reflects active profile state."
},
{
"name": "test_popoverEmptyStateShowsRecoveryCTA",
"verifies": "Popover empty state is actionable."
}
]
}
]
},
"discoveredIssues": []
}
Every EndFeatureRun handoff MUST satisfy both of the following requirements to be considered valid:
The commitId field in handoffs MUST be a full machine-resolvable SHA-1 commit ID (40 hexadecimal characters). Short hashes or symbolic references (e.g., HEAD, main) are NOT acceptable.
Verification: Run git rev-parse <commitId> — it must resolve to the actual commit. If this command fails or returns a different hash, the handoff is non-compliant.
Why this matters: Short hashes and symbolic refs are ambiguous across clones and can become dangling references after rebases or force-pushes. Full SHAs are immutable and universally auditable.
followedProcedure=trueBefore setting followedProcedure: true in skillFeedback, you MUST demonstrate concrete evidence that you read the required context files listed in Phase 1.1 of worker-base. This is not self-certification — it requires showing what you actually read.
Required evidence format: In your verification.commandsRun array, include entries like:
{
"command": "head -n 3 mission.md && grep -n 'fulfills' AGENTS.md | head -n 5",
"exitCode": 0,
"observation": "Read mission.md goal section and AGENTS.md fulfills list during Phase 1.1 startup."
}
The evidence must demonstrate actual content was read (e.g., head, grep, cat, rg output showing file content), not merely that files exist (which test -f proves). For example, rg -n 'phase' AGENTS.md shows actual matching lines, while test -f AGENTS.md only proves the file exists.
When the final commit referenced by commitId is a non-implementation artifact commit (e.g., chore(...), docs(...), test(validation):..., or any commit that does not contain the feature's production/test code changes), the worker MUST also include the actual implementation commit SHA(s) in the handoff so that scrutiny reviewers can unambiguously map the implementation diff to the feature scope.
Implementation commits are commits whose diff contains the substantive code changes for the assigned feature (production code, test code, configuration changes that implement the feature behavior).
Artifact commits are commits whose diff is limited to validation synthesis, documentation updates, .factory/ state commits, or other non-implementation housekeeping.
How to provide implementation commit traceability:
git rev-parse HEAD after each implementation commit).commitId points to an artifact commit, include the implementation SHA(s) in handoff.whatWasImplemented with a clear reference, e.g.:
"whatWasImplemented": "Implemented X (implementation commit: abc1234...full SHA...). Final commit def... includes validation artifacts."
git show <implementation-sha> --stat to see the actual feature diff.Compliance: If your commitId references an artifact commit but no implementation commit SHA is included, followedProcedure MUST be set to false with a deviation documenting the omission.
If you deviated from the procedure: You MUST set followedProcedure: false and document every deviation in skillFeedback.deviations with:
step: Which phase/step was skipped or alteredwhatIDidInstead: What you actually didwhy: Blocking condition, better approach discovered, or unclear instructionAuditability: These requirements make every handoff independently verifiable:
git rev-parse and compared against git logworker-basecommitId is an artifact commit and whether implementation SHAs are provided