Agent skill
bbl-senior-architect
Use for THB-BBL architecture decisions, ADR-ready tradeoff analysis, dependency boundaries, and long-term system impact across request parsing, team building, exports, scheduler, and agent tool boundaries. Do not use for routine implementation where design is already fixed.
Install this agent skill to your Project
npx add-skill https://github.com/therealityreport/THB-BBL/tree/main/skills/bbl-senior-architect
SKILL.md
Use this skill when THB-BBL design choices have long-term impact.
When to use
- Multiple viable architecture options with meaningful tradeoffs.
- Boundary, dependency, or layering decisions across
src/app/api/**/route.ts,src/server/services/**,prisma/schema.prisma, andbackend/**. - Migration and compatibility planning for request-analysis, team-builder, exports, scheduling, or agent runtime flows.
When not to use
- Routine implementation where architecture is already fixed.
- UI-only or endpoint-only edits with no boundary impact.
- Pure code review or pure test execution.
Preflight
- Capture constraints, non-goals, and success criteria.
- Map current THB-BBL boundaries: UI (
src/app/**,src/components/**), API (src/app/api/**/route.ts), services (src/server/services/**), schema (prisma/schema.prisma), legacy backend (backend/**). - Identify stakeholder concerns: reliability, auditability, privacy boundaries, migration complexity, operator usability.
Stop condition: if success criteria or boundary ownership are ambiguous, pause and define them.
Execution checklist
- Compare options using explicit criteria and a decision matrix.
- Include required matrix dimensions: reliability, auditability, privacy boundaries, migration complexity, operator usability.
- Surface operational, migration, and compatibility risks.
- Select a preferred path and explain why alternatives are weaker.
- Define implementation sequencing and rollback posture.
- Produce ADR-ready summary with assumptions and deferred decisions.
Fallbacks
- If the choice is already fixed, provide implementation guardrails only.
- If uncertainty remains high, recommend a spike/prototype scope with exit criteria.
- If evaluation is mostly vendor/tool choice, coordinate with
tech-stack-evaluator.
Completion contract
Return:
scope_statementoptions_considereddecision_matrixrecommended_optionmigration_riskscompatibility_notesrollback_postureadr_summaryvalidation_hints(npm run lint,npm run typecheck,npm run test,python3 -m pytest backend/testswhenbackend/**is touched)
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
bbl-senior-qa
Use for THB-BBL risk-tiered validation planning, regression prevention, and release verification for changed behavior across request analysis, team assignment, exports, and scheduler flows. Do not use for implementation-only tasks.
bbl-senior-devops
Use for THB-BBL CI/CD reliability, deployment hardening, rollback-readiness, environment safety, and operational gates. Do not use for feature-only coding without operational impact.
bbl-senior-backend
Use for THB-BBL backend/API/schema/security changes across Next.js route handlers, TypeScript services, Prisma schema, and legacy Python backend modules when downstream compatibility must be controlled. Do not use for UI-only work.
bbl-senior-frontend
Use for THB-BBL UI-first Next.js App Router implementation, accessibility, rendering/state behavior, and frontend performance when backend contracts are stable. Do not use when backend/API/schema contracts need to move.
repo-structure-reviewer
Audit a repository's structure and propose a safe, approval-gated reorganization plan. Use when asked to review repo anatomy, propose folder changes, or apply an approved reorg with rollback.
bbl-senior-fullstack
Use for coordinated THB-BBL cross-layer work spanning UI, API routes, services/data, and optional legacy Python parity when shared contracts or data flow can drift. Do not use for docs-only work, pure UI polish, or low-risk isolated fixes.
Didn't find tool you were looking for?