-
Notifications
You must be signed in to change notification settings - Fork 16
Agent Brain Plugin Tasks
Input: Design documents from .speckit/features/114-agent-brain-plugin/
Prerequisites: plan.md, spec.md, research.md, data-model.md, contracts/
Tests: Not explicitly requested - quality validation via skill grading workflow (95% target)
Organization: Tasks grouped by user story to enable independent implementation and testing
- [P]: Can run in parallel (different files, no dependencies)
- [Story]: Which user story this task belongs to (e.g., US1, US2, US3)
- Include exact file paths in descriptions
-
Plugin root:
agent-brain-plugin/at repository root -
Commands:
agent-brain-plugin/commands/ -
Agents:
agent-brain-plugin/agents/ -
Skills:
agent-brain-plugin/skills/
Purpose: Create plugin directory structure and manifest
- T001 Create plugin directory structure:
agent-brain-plugin/with.claude-plugin/,commands/,agents/,skills/subdirectories (IN PROGRESS - Claude Code Task #5) - T002 Create marketplace.json manifest in
agent-brain-plugin/.claude-plugin/marketplace.jsonper data-model.md schema (IN PROGRESS - Claude Code Task #5) - T003 [P] Create README.md in
agent-brain-plugin/README.mdwith installation and usage instructions (IN PROGRESS - Claude Code Task #5) - T004 [P] Create .gitignore in
agent-brain-plugin/.gitignorefor common excludes (IN PROGRESS - Claude Code Task #5)
Checkpoint: Plugin structure ready for content
Purpose: Create skill foundations that commands and agents depend on
- T005 Create skill directory structure:
agent-brain-plugin/skills/using-agent-brain/withreferences/subdirectory (IN PROGRESS - Claude Code Task #5) - T006 Create SKILL.md in
agent-brain-plugin/skills/using-agent-brain/SKILL.mdper skill-schema.md (IN PROGRESS - Claude Code Task #5) - T007 [P] Create hybrid-search-guide.md in
agent-brain-plugin/skills/using-agent-brain/references/hybrid-search-guide.md(IN PROGRESS - Claude Code Task #5) - T008 [P] Create bm25-search-guide.md in
agent-brain-plugin/skills/using-agent-brain/references/bm25-search-guide.md(IN PROGRESS - Claude Code Task #5) - T009 [P] Create vector-search-guide.md in
agent-brain-plugin/skills/using-agent-brain/references/vector-search-guide.md(IN PROGRESS - Claude Code Task #5) - T010 [P] Create api_reference.md in
agent-brain-plugin/skills/using-agent-brain/references/api_reference.md(IN PROGRESS - Claude Code Task #5)
- T011 Create skill directory structure:
agent-brain-plugin/skills/agent-brain-setup/withreferences/subdirectory (IN PROGRESS - Claude Code Task #5) - T012 Create SKILL.md in
agent-brain-plugin/skills/agent-brain-setup/SKILL.mdper skill-schema.md (IN PROGRESS - Claude Code Task #5) - T013 [P] Create installation-guide.md in
agent-brain-plugin/skills/agent-brain-setup/references/installation-guide.md(IN PROGRESS - Claude Code Task #5) - T014 [P] Create configuration-guide.md in
agent-brain-plugin/skills/agent-brain-setup/references/configuration-guide.md(IN PROGRESS - Claude Code Task #5) - T015 [P] Create troubleshooting-guide.md in
agent-brain-plugin/skills/agent-brain-setup/references/troubleshooting-guide.md(IN PROGRESS - Claude Code Task #5)
Checkpoint: Skills ready - commands and agents can now reference them
Goal: Users can search project documentation using natural commands
Independent Test: Install plugin, start server, index docs, run /agent-brain-search "query" and verify results with source citations
- T016 [P] [US1] Create agent-brain-search.md command in
agent-brain-plugin/commands/agent-brain-search.mdper command-schema.md (hybrid mode) - T017 [P] [US1] Create agent-brain-semantic.md command in
agent-brain-plugin/commands/agent-brain-semantic.mdper command-schema.md (vector mode) - T018 [P] [US1] Create agent-brain-keyword.md command in
agent-brain-plugin/commands/agent-brain-keyword.mdper command-schema.md (BM25 mode)
- T019 [P] [US1] Create agent-brain-status.md command in
agent-brain-plugin/commands/agent-brain-status.md(needed to check server before search) - T020 [P] [US1] Create agent-brain-start.md command in
agent-brain-plugin/commands/agent-brain-start.md(needed if server not running)
- T021 [US1] Create search-assistant.md agent in
agent-brain-plugin/agents/search-assistant.mdper agent-schema.md
Checkpoint: User Story 1 complete - users can search documentation via commands
Goal: New users can install and configure Agent Brain from scratch
Independent Test: Fresh environment, run /agent-brain-setup, follow guided flow to completion, verify with /agent-brain-verify
- T022 [P] [US2] Create agent-brain-install.md command in
agent-brain-plugin/commands/agent-brain-install.mdper command-schema.md - T023 [P] [US2] Create agent-brain-setup.md command in
agent-brain-plugin/commands/agent-brain-setup.md(guided flow) - T024 [P] [US2] Create agent-brain-config.md command in
agent-brain-plugin/commands/agent-brain-config.md(API key configuration) - T025 [P] [US2] Create agent-brain-init.md command in
agent-brain-plugin/commands/agent-brain-init.md(project initialization) - T026 [P] [US2] Create agent-brain-verify.md command in
agent-brain-plugin/commands/agent-brain-verify.md(installation verification)
- T027 [US2] Create setup-assistant.md agent in
agent-brain-plugin/agents/setup-assistant.mdper agent-schema.md
Checkpoint: User Story 2 complete - new users can set up Agent Brain via guided commands
Goal: Users can manage the Agent Brain server for their project
Independent Test: Run /agent-brain-start, verify with /agent-brain-status, run /agent-brain-list to see instance, run /agent-brain-stop
- T028 [P] [US3] Create agent-brain-stop.md command in
agent-brain-plugin/commands/agent-brain-stop.mdper command-schema.md - T029 [P] [US3] Create agent-brain-list.md command in
agent-brain-plugin/commands/agent-brain-list.md(list all instances)
Note: agent-brain-start.md and agent-brain-status.md already created in US1 (T019, T020)
Checkpoint: User Story 3 complete - users can manage server lifecycle
Goal: Users can index their project documentation for search
Independent Test: Run /agent-brain-index /docs, check status shows document count, run /agent-brain-reset and confirm index cleared
- T030 [P] [US4] Create agent-brain-index.md command in
agent-brain-plugin/commands/agent-brain-index.mdper command-schema.md - T031 [P] [US4] Create agent-brain-reset.md command in
agent-brain-plugin/commands/agent-brain-reset.md(clear index with confirmation)
Checkpoint: User Story 4 complete - users can index and reset documentation
Goal: Agents proactively offer help when user mentions search or setup topics
Independent Test: Say "search docs" and verify agent offers to help; say "how do I search" and verify agent explains Agent Brain
Note: Both agents already created in US1 (T021) and US2 (T027)
- T032 [US5] Review and enhance search-assistant.md trigger patterns for comprehensive coverage in
agent-brain-plugin/agents/search-assistant.md - T033 [US5] Review and enhance setup-assistant.md trigger patterns for comprehensive coverage in
agent-brain-plugin/agents/setup-assistant.md
Checkpoint: User Story 5 complete - agents trigger appropriately on patterns
Goal: Users can get help with commands and search mode selection
Independent Test: Run /agent-brain-help and verify all 15 commands listed; run /agent-brain-help --command search for detailed help
- T034 [US6] Create agent-brain-help.md command in
agent-brain-plugin/commands/agent-brain-help.mdper command-schema.md
Checkpoint: User Story 6 complete - users have comprehensive help available
Purpose: Achieve 95% skill grading score for both skills
- T035 Grade using-agent-brain skill with improving-skills workflow
- T036 Identify and fix issues in
agent-brain-plugin/skills/using-agent-brain/SKILL.mdto improve score - T037 Re-grade using-agent-brain skill until 95% achieved
- T038 Grade agent-brain-setup skill with improving-skills workflow
- T039 Identify and fix issues in
agent-brain-plugin/skills/agent-brain-setup/SKILL.mdto improve score - T040 Re-grade agent-brain-setup skill until 95% achieved
Checkpoint: Both skills achieve 95% quality score
Purpose: Final validation and publication preparation
- T041 Update marketplace.json to ensure all commands, agents, skills are correctly referenced in
agent-brain-plugin/.claude-plugin/marketplace.json - T042 [P] Validate all command YAML frontmatter is correctly formatted
- T043 [P] Validate all agent trigger patterns work as expected
- T044 [P] Validate all skill references load correctly
- T045 Plugin validated as part of monorepo (no separate installation needed)
- T046 N/A - Plugin is part of existing agent-brain monorepo
- T047 N/A - Will be committed with main repository
- T048 N/A - Plugin path documented in monorepo README
- Setup (Phase 1): No dependencies - can start immediately
- Foundational (Phase 2): Depends on Setup - BLOCKS all user story commands
- User Stories (Phase 3-8): All depend on Foundational phase completion
- Quality Assurance (Phase 9): Depends on all skills being created (Phase 2)
- Polish (Phase 10): Depends on all content being complete
| Story | Priority | Dependencies | Can Parallel With |
|---|---|---|---|
| US1 - Quick Search | P1 | Foundational | None (MVP) |
| US2 - Guided Setup | P2 | Foundational | US1, US3, US4, US6 |
| US3 - Server Lifecycle | P2 | Foundational, US1 (T019, T020) | US2, US4, US6 |
| US4 - Document Indexing | P2 | Foundational | US1, US2, US3, US6 |
| US5 - Agent Assistance | P2 | US1 (T021), US2 (T027) | None |
| US6 - Help & Guidance | P3 | Foundational | US1, US2, US3, US4 |
- Commands marked [P] can run in parallel (different files)
- Agent files depend on having skill references available
- Each story should be testable after completion
Phase 1 (Setup):
- T003, T004 can run in parallel
Phase 2 (Foundational):
- T007, T008, T009, T010 can run in parallel (using-agent-brain references)
- T013, T014, T015 can run in parallel (agent-brain-setup references)
User Stories:
- All commands within each story marked [P] can run in parallel
- US1, US2, US3, US4, US6 can run in parallel after Foundational
- US5 must wait for agents from US1/US2
# Launch all using-agent-brain reference files together:
Task: "Create hybrid-search-guide.md in agent-brain-plugin/skills/using-agent-brain/references/hybrid-search-guide.md"
Task: "Create bm25-search-guide.md in agent-brain-plugin/skills/using-agent-brain/references/bm25-search-guide.md"
Task: "Create vector-search-guide.md in agent-brain-plugin/skills/using-agent-brain/references/vector-search-guide.md"
Task: "Create api_reference.md in agent-brain-plugin/skills/using-agent-brain/references/api_reference.md"
# Launch all agent-brain-setup reference files together:
Task: "Create installation-guide.md in agent-brain-plugin/skills/agent-brain-setup/references/installation-guide.md"
Task: "Create configuration-guide.md in agent-brain-plugin/skills/agent-brain-setup/references/configuration-guide.md"
Task: "Create troubleshooting-guide.md in agent-brain-plugin/skills/agent-brain-setup/references/troubleshooting-guide.md"# Launch all search commands together:
Task: "Create agent-brain-search.md command in agent-brain-plugin/commands/agent-brain-search.md"
Task: "Create agent-brain-semantic.md command in agent-brain-plugin/commands/agent-brain-semantic.md"
Task: "Create agent-brain-keyword.md command in agent-brain-plugin/commands/agent-brain-keyword.md"
Task: "Create agent-brain-status.md command in agent-brain-plugin/commands/agent-brain-status.md"
Task: "Create agent-brain-start.md command in agent-brain-plugin/commands/agent-brain-start.md"- Complete Phase 1: Setup (T001-T004)
- Complete Phase 2: Foundational - skills (T005-T015)
- Complete Phase 3: User Story 1 - search commands (T016-T021)
- STOP and VALIDATE: Install plugin, test search commands work
- Deploy/demo if ready
- Setup + Foundational → Plugin structure ready
- Add User Story 1 (Search) → Test independently → MVP Ready!
- Add User Story 2 (Setup) → Test independently → First-time user support
- Add User Story 3 (Server) → Test independently → Full server lifecycle
- Add User Story 4 (Indexing) → Test independently → Complete indexing
- Add User Story 5 (Agents) → Test independently → Proactive assistance
- Add User Story 6 (Help) → Test independently → Complete help system
- Quality Assurance → 95% skill scores achieved
- Polish → GitHub publication
With multiple contributors:
- Everyone completes Setup + Foundational together
- Once Foundational is done:
- Contributor A: US1 (Search) + US5 (Agents)
- Contributor B: US2 (Setup) + US6 (Help)
- Contributor C: US3 (Server) + US4 (Indexing)
- All run Quality Assurance and Polish together
| Phase | Task Count | Parallel Tasks | Description |
|---|---|---|---|
| 1: Setup | 4 | 2 | Plugin structure |
| 2: Foundational | 11 | 7 | Skills infrastructure |
| 3: US1 Search | 6 | 5 | Search commands + agent |
| 4: US2 Setup | 6 | 5 | Setup commands + agent |
| 5: US3 Server | 2 | 2 | Server lifecycle commands |
| 6: US4 Indexing | 2 | 2 | Index commands |
| 7: US5 Agents | 2 | 0 | Agent pattern review |
| 8: US6 Help | 1 | 0 | Help command |
| 9: Quality | 6 | 0 | 95% skill grading |
| 10: Polish | 8 | 3 | Validation & publication |
| Total | 48 | 26 |
- [P] tasks = different files, no dependencies
- [Story] label maps task to specific user story for traceability
- Each user story should be independently completable and testable
- Quality assurance (95% grading) is mandatory per spec
- Commit after each task or logical group
- Stop at any checkpoint to validate story independently
- Existing skill content from
agent-brain-skill/using-agent-brain/can be migrated
- Design-Architecture-Overview
- Design-Query-Architecture
- Design-Storage-Architecture
- Design-Class-Diagrams
- GraphRAG-Guide
- Agent-Skill-Hybrid-Search-Guide
- Agent-Skill-Graph-Search-Guide
- Agent-Skill-Vector-Search-Guide
- Agent-Skill-BM25-Search-Guide
Search
Server
Setup
- Pluggable-Providers-Spec
- GraphRAG-Integration-Spec
- Agent-Brain-Plugin-Spec
- Multi-Instance-Architecture-Spec