@vheins/local-memory-mcp 0.14.3 → 0.14.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-D7KJMBPW.js → chunk-U67YH7MG.js} +2 -2
- package/dist/dashboard/server.js +1 -1
- package/dist/mcp/server.js +1 -1
- package/dist/prompts/architecture-design.md +22 -16
- package/dist/prompts/create-task.md +37 -0
- package/dist/prompts/csl-from-docs.md +9 -6
- package/dist/prompts/csl-scrapper.md +9 -6
- package/dist/prompts/documentation-sync.md +7 -0
- package/dist/prompts/export-task-to-github.md +20 -13
- package/dist/prompts/fix-suggestion.md +19 -17
- package/dist/prompts/import-github-issues.md +7 -0
- package/dist/prompts/learning-retrospective.md +5 -5
- package/dist/prompts/memory-agent-core.md +7 -0
- package/dist/prompts/memory-guided-review.md +6 -5
- package/dist/prompts/memory-index-policy.md +7 -0
- package/dist/prompts/project-briefing.md +7 -0
- package/dist/prompts/review-and-audit.md +14 -10
- package/dist/prompts/review-and-post-issue.md +13 -12
- package/dist/prompts/root-cause-analysis.md +12 -9
- package/dist/prompts/security-triage.md +12 -9
- package/dist/prompts/senior-code-review.md +9 -6
- package/dist/prompts/sentinel-issue-resolver.md +14 -5
- package/dist/prompts/session-planner.md +7 -6
- package/dist/prompts/task-management-guidelines.md +7 -0
- package/dist/prompts/task-memory-executor.md +52 -101
- package/dist/prompts/tech-affinity-scout.md +6 -5
- package/dist/prompts/technical-planning.md +45 -14
- package/dist/prompts/tool-usage-guidelines.md +7 -0
- package/package.json +1 -1
|
@@ -81,8 +81,8 @@ function loadServerInstructions() {
|
|
|
81
81
|
// src/mcp/capabilities.ts
|
|
82
82
|
var __dirname2 = path2.dirname(fileURLToPath2(import.meta.url));
|
|
83
83
|
var pkgVersion = "0.1.0";
|
|
84
|
-
if ("0.14.
|
|
85
|
-
pkgVersion = "0.14.
|
|
84
|
+
if ("0.14.4") {
|
|
85
|
+
pkgVersion = "0.14.4";
|
|
86
86
|
} else {
|
|
87
87
|
let searchDir = __dirname2;
|
|
88
88
|
for (let i = 0; i < 5; i++) {
|
package/dist/dashboard/server.js
CHANGED
package/dist/mcp/server.js
CHANGED
|
@@ -3,25 +3,31 @@ name: architecture-design
|
|
|
3
3
|
description: Plan system architecture, component layout, and data flow
|
|
4
4
|
arguments:
|
|
5
5
|
- name: tech_stack
|
|
6
|
-
description: Technology stack
|
|
7
|
-
required:
|
|
6
|
+
description: Technology stack
|
|
7
|
+
required: true
|
|
8
8
|
- name: requirements
|
|
9
|
-
description: Key requirements
|
|
10
|
-
required:
|
|
9
|
+
description: Key requirements
|
|
10
|
+
required: true
|
|
11
11
|
agent: System Architect
|
|
12
|
+
version: "1.0.0"
|
|
13
|
+
category: planning
|
|
14
|
+
tags: [architecture, system-design, components, data-flow, adr]
|
|
12
15
|
---
|
|
13
|
-
## 0. CONTEXT RESOLUTION
|
|
14
|
-
- **tech_stack**: If provided, use directly. If omitted — detect from package.json, pyproject.toml, Gemfile, or repo file extensions.
|
|
15
|
-
- **requirements**: If provided, use directly. If omitted — extract from active `in_progress` task description, pending handoff context, or recent conversation.
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
# Skill: Architecture Design
|
|
18
18
|
|
|
19
|
-
|
|
20
|
-
Requirements: (resolved above)
|
|
19
|
+
> Design system architecture for repository.
|
|
21
20
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
21
|
+
## I/O
|
|
22
|
+
`tech_stack` (req), `requirements` (req) → `design/architecture/` (components, data flow, ADRs)
|
|
23
|
+
|
|
24
|
+
## Rules
|
|
25
|
+
- Component Diagram: Blocks & responsibilities
|
|
26
|
+
- Data Flow: Information movement
|
|
27
|
+
- ADRs: Rationale for patterns
|
|
28
|
+
- Scalability/Reliability: Growth & failure handling
|
|
29
|
+
- Security: Identity, protection, boundaries
|
|
30
|
+
|
|
31
|
+
## Chain
|
|
32
|
+
← N/A
|
|
33
|
+
→ `architecture-documentation`: `design/architecture/` → as-built architecture doc
|
|
@@ -6,6 +6,13 @@ arguments:
|
|
|
6
6
|
description: Directive to analyze and break into tasks. Optional — derived from active task, pending handoff, or recent conversation if omitted.
|
|
7
7
|
required: false
|
|
8
8
|
agent: Task Planner
|
|
9
|
+
version: "1.0.0"
|
|
10
|
+
license: Proprietary — Personal Use Only
|
|
11
|
+
category: workflows
|
|
12
|
+
type: Orchestrator
|
|
13
|
+
complexity: Advanced
|
|
14
|
+
tags: [workflow, task-creation, planning, mcp]
|
|
15
|
+
author: vheins
|
|
9
16
|
---
|
|
10
17
|
|
|
11
18
|
## 🚫 FORBIDDEN: NON-EXECUTION
|
|
@@ -56,6 +63,36 @@ Log architectural/feature changes as `type: decision` via `memory-store`. Store
|
|
|
56
63
|
- Parent/Child logic for complex directives.
|
|
57
64
|
- Bulk limit: 500 records.
|
|
58
65
|
|
|
66
|
+
## 5A. BLUEPRINT ORCHESTRATION IMPORT
|
|
67
|
+
When the instruction source is `idea-to-blueprint`:
|
|
68
|
+
- Create one root parent task for the full SDLC blueprint.
|
|
69
|
+
- Create phase parent tasks for P0 through P10 and final no-gap handoff.
|
|
70
|
+
- Create child tasks for every task breakdown row in the `idea-to-blueprint` skill.
|
|
71
|
+
- Recursively decompose every referenced skill until leaf-level tasks are reached.
|
|
72
|
+
- Preserve phase order with `depends_on`: P0 -> P1 -> G1 -> P2 -> G2 -> P3 -> G3 -> P4/P5 -> P6 -> P7 -> P8 -> P9 -> P10 -> GF.
|
|
73
|
+
- For conditional tasks, create them with explicit condition metadata instead of omitting them:
|
|
74
|
+
- UI design tasks run when the product has UI.
|
|
75
|
+
- accessibility tests run when UI exists.
|
|
76
|
+
- performance/load tests run when capacity risk exists.
|
|
77
|
+
- database migration tests run when schema changes exist.
|
|
78
|
+
- microservice/monolith tasks run only when architecture context applies.
|
|
79
|
+
- Gate tasks are internal quality checks. They should not ask for manual approval unless the gate is blocked by No-Go, missing mandatory input, or conflicting requirements.
|
|
80
|
+
- All task descriptions must use the strict Context & Analysis, Step & Implementation, Acceptance & Verification format.
|
|
81
|
+
- Call `task-list` before creation and link to existing related tasks instead of creating duplicates.
|
|
82
|
+
- Store a decision memory summarizing the blueprint task graph and major assumptions.
|
|
83
|
+
|
|
84
|
+
## 5B. SPRINT PLAN IMPORT
|
|
85
|
+
When the instruction source is `.agents/documents/tasks/sprints/`:
|
|
86
|
+
- Treat sprint files and allocation audit as the source of truth.
|
|
87
|
+
- Create one root parent task for the full delivery scope.
|
|
88
|
+
- Create one sprint parent task per sprint and link each to the root via `parent_id`.
|
|
89
|
+
- Create module/feature child tasks under the sprint where the work is scheduled.
|
|
90
|
+
- Create atomic implementation/testing tasks under the matching module/feature parent.
|
|
91
|
+
- Convert sprint dependency columns and implementation order into `depends_on`.
|
|
92
|
+
- Preserve cross-sprint blockers by linking later sprint tasks to earlier sprint MCP task IDs.
|
|
93
|
+
- Call `task-list` before creation and skip duplicates; link to existing related tasks instead.
|
|
94
|
+
- Store a task creation audit in memory with created, linked, skipped duplicate, and blocked counts.
|
|
95
|
+
|
|
59
96
|
## 6. SELF-CHECK
|
|
60
97
|
- ❌ No code/execution.
|
|
61
98
|
- ✅ ONLY MCP tool calls.
|
|
@@ -3,15 +3,18 @@ name: csl-from-docs
|
|
|
3
3
|
description: Create atomic CSL coding standards entries from a local file or directory path.
|
|
4
4
|
arguments:
|
|
5
5
|
- name: path
|
|
6
|
-
description: Local path (file or directory) containing documentation or standards.
|
|
7
|
-
required:
|
|
6
|
+
description: Local path (file or directory) containing documentation or standards.
|
|
7
|
+
required: true
|
|
8
8
|
agent: Documentation Processor
|
|
9
|
+
version: "1.0.0"
|
|
10
|
+
category: workflows
|
|
11
|
+
tags: [workflow, csl, coding-standards, documentation, mcp]
|
|
9
12
|
---
|
|
10
|
-
## 0. CONTEXT RESOLUTION
|
|
11
|
-
- **path**: If provided, use directly. If omitted — default to `docs/`, `README.md`, or `src/mcp/prompts/definitions/` in the active repo root.
|
|
12
|
-
- **current_repo**: Auto-detect from git remote or active workspace context.
|
|
13
13
|
|
|
14
|
-
Fetch and convert local documentation from the
|
|
14
|
+
Fetch and convert local documentation from the provided path into atomic CSL (Coding Standards Library) entries for the coding_standards entity.
|
|
15
|
+
|
|
16
|
+
Path: {{path}}
|
|
17
|
+
Current repo: {{current_repo}}
|
|
15
18
|
|
|
16
19
|
Goal:
|
|
17
20
|
- Analyze the provided path.
|
|
@@ -3,15 +3,18 @@ name: csl-scrapper
|
|
|
3
3
|
description: Scrape trusted documentation from a URL into atomic CSL coding standards entries.
|
|
4
4
|
arguments:
|
|
5
5
|
- name: source_url
|
|
6
|
-
description: Canonical URL for the documentation source to scrape.
|
|
7
|
-
required:
|
|
6
|
+
description: Canonical URL for the documentation source to scrape.
|
|
7
|
+
required: true
|
|
8
8
|
agent: Documentation Scraper
|
|
9
|
+
version: "1.0.0"
|
|
10
|
+
category: workflows
|
|
11
|
+
tags: [workflow, csl, scraping, coding-standards, mcp]
|
|
9
12
|
---
|
|
10
|
-
## 0. CONTEXT RESOLUTION
|
|
11
|
-
- **source_url**: Use `{{source_url}}` if provided. If omitted — extract from the most recently mentioned URL in conversation context or active task description.
|
|
12
|
-
- **current_repo**: Auto-detect from git remote or active workspace context.
|
|
13
13
|
|
|
14
|
-
Fetch and convert trusted documentation from the
|
|
14
|
+
Fetch and convert trusted documentation from the provided URL into atomic CSL (Coding Standards Library) entries for the coding_standards entity.
|
|
15
|
+
|
|
16
|
+
Source URL: {{source_url}}
|
|
17
|
+
Current repo: {{current_repo}}
|
|
15
18
|
|
|
16
19
|
Goal:
|
|
17
20
|
- Use the web_fetch tool (if available) to retrieve the content of the provided Source URL.
|
|
@@ -3,6 +3,13 @@ name: documentation-sync
|
|
|
3
3
|
description: Sync memory decisions with repository markdown files
|
|
4
4
|
arguments: []
|
|
5
5
|
agent: Documentation Specialist
|
|
6
|
+
version: "1.0.0"
|
|
7
|
+
license: Proprietary — Personal Use Only
|
|
8
|
+
category: workflows
|
|
9
|
+
type: Utility
|
|
10
|
+
complexity: Beginner
|
|
11
|
+
tags: [workflow, documentation, memory, sync]
|
|
12
|
+
author: vheins
|
|
6
13
|
---
|
|
7
14
|
Reconcile local documentation with stored memories.
|
|
8
15
|
|
|
@@ -2,32 +2,39 @@
|
|
|
2
2
|
name: export-task-to-github
|
|
3
3
|
description: Export local tasks to GitHub Issues
|
|
4
4
|
arguments:
|
|
5
|
+
- name: owner
|
|
6
|
+
description: GitHub repo owner
|
|
7
|
+
required: true
|
|
8
|
+
- name: repo
|
|
9
|
+
description: GitHub repo name
|
|
10
|
+
required: true
|
|
5
11
|
- name: task_id
|
|
6
|
-
description: Local task ID
|
|
7
|
-
required:
|
|
12
|
+
description: Local task ID
|
|
13
|
+
required: true
|
|
8
14
|
agent: Integration Architect
|
|
15
|
+
version: "1.0.0"
|
|
16
|
+
category: workflows
|
|
17
|
+
tags: [workflow, github, task-sync, mcp]
|
|
9
18
|
---
|
|
10
19
|
|
|
11
|
-
|
|
12
|
-
1. **Detect**: Get repo name and owner from git remote (e.g. `git remote get-url origin`) or active workspace context. Parse `owner` and `repo` from the remote URL automatically.
|
|
13
|
-
2. **Verify**: Confirm the detected `owner`/`repo` before proceeding.
|
|
20
|
+
# Skill: export-task-to-github
|
|
14
21
|
|
|
15
|
-
##
|
|
16
|
-
1. **
|
|
17
|
-
2. **Verify**: Ensure title/description exist
|
|
22
|
+
## 1. RETRIEVE
|
|
23
|
+
1. **Fetch**: Call `task-detail` for `task_id`.
|
|
24
|
+
2. **Verify**: Ensure title/description exist. Use `memory-search` for gaps.
|
|
18
25
|
|
|
19
|
-
##
|
|
20
|
-
1. **Search**: Use `search_issues` for `task_code
|
|
26
|
+
## 2. SYNC CHECK
|
|
27
|
+
1. **Search**: Use `search_issues` for `task_code`.
|
|
21
28
|
2. **De-duplicate**: If issue exists, update local task `metadata` with URL. DO NOT re-create.
|
|
22
29
|
|
|
23
|
-
##
|
|
30
|
+
## 3. CREATE ISSUE
|
|
24
31
|
If new:
|
|
25
|
-
- **Write**: Use `issue_write` (method: 'create')
|
|
32
|
+
- **Write**: Use `issue_write` (method: 'create').
|
|
26
33
|
- **Content**: Match local title/body exactly.
|
|
27
34
|
- **Traceability**: Append `task_code` and `task_id` to body.
|
|
28
35
|
- **Comments**: Post local comments via `add_issue_comment`.
|
|
29
36
|
|
|
30
|
-
##
|
|
37
|
+
## 4. LINK
|
|
31
38
|
- **Update**: Call `task-update`.
|
|
32
39
|
- **Metadata**: Add GitHub URL.
|
|
33
40
|
- **Comment**: "Exported to GitHub Issue #X".
|
|
@@ -3,27 +3,29 @@ name: fix-suggestion
|
|
|
3
3
|
description: Targeted fix with before/after code and test case.
|
|
4
4
|
arguments:
|
|
5
5
|
- name: tech_stack
|
|
6
|
-
description: Target tech stack.
|
|
7
|
-
required:
|
|
6
|
+
description: Target tech stack.
|
|
7
|
+
required: true
|
|
8
8
|
- name: bug_description
|
|
9
|
-
description: Bug behavior.
|
|
10
|
-
required:
|
|
9
|
+
description: Bug behavior.
|
|
10
|
+
required: true
|
|
11
11
|
- name: root_cause
|
|
12
|
-
description: Identified root cause.
|
|
13
|
-
required:
|
|
12
|
+
description: Identified root cause.
|
|
13
|
+
required: true
|
|
14
14
|
agent: Debugging Expert
|
|
15
|
+
version: "1.1.0"
|
|
16
|
+
category: debugging
|
|
17
|
+
tags: [fix, patch, bug-fix, code-change, test-case, debugging]
|
|
15
18
|
---
|
|
16
19
|
|
|
17
|
-
|
|
18
|
-
Resolve missing arguments from available context before proceeding:
|
|
19
|
-
- **tech_stack**: Detect from repo language, package files, or active task tags. Fallback: ask agent to infer from open files.
|
|
20
|
-
- **bug_description**: Extract from active task description, recent conversation, or error logs. Fallback: describe observable broken behavior.
|
|
21
|
-
- **root_cause**: Extract from recent analysis, error traces, or `memory-search` results. Fallback: state "unknown — investigation required".
|
|
20
|
+
# Skill: Fix Suggestion
|
|
22
21
|
|
|
23
|
-
Provide precise, minimal fix for confirmed bug.
|
|
22
|
+
> Provide precise, minimal fix for confirmed bug.
|
|
24
23
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
24
|
+
## I/O
|
|
25
|
+
tech_stack (req), bug_description (req), root_cause (req) → diagnosis report + fix suggestion
|
|
26
|
+
|
|
27
|
+
## Rules
|
|
28
|
+
1. Explanation: Why it happens and how fix works
|
|
29
|
+
2. Before/After: Diff style code blocks with comments
|
|
30
|
+
3. Checklist: Meta changes (config, migrations)
|
|
31
|
+
4. Verification: Regression test case
|
|
@@ -3,6 +3,13 @@ name: import-github-issues
|
|
|
3
3
|
description: Import GitHub Issues as local tasks.
|
|
4
4
|
arguments: []
|
|
5
5
|
agent: Integration Scout
|
|
6
|
+
version: "1.0.0"
|
|
7
|
+
license: Proprietary — Personal Use Only
|
|
8
|
+
category: workflows
|
|
9
|
+
type: Orchestrator
|
|
10
|
+
complexity: Intermediate
|
|
11
|
+
tags: [workflow, github, issue-import, mcp]
|
|
12
|
+
author: vheins
|
|
6
13
|
---
|
|
7
14
|
|
|
8
15
|
## 1. FETCH
|
|
@@ -3,15 +3,15 @@ name: learning-retrospective
|
|
|
3
3
|
description: Harvest knowledge from completed work.
|
|
4
4
|
arguments:
|
|
5
5
|
- name: task_id
|
|
6
|
-
description: ID
|
|
6
|
+
description: ID of completed task.
|
|
7
7
|
required: false
|
|
8
8
|
agent: Knowledge Harvester
|
|
9
|
+
version: "1.0.0"
|
|
10
|
+
category: workflows
|
|
11
|
+
tags: [workflow, retrospective, memory, knowledge-management]
|
|
9
12
|
---
|
|
10
|
-
## 0. CONTEXT RESOLUTION
|
|
11
|
-
1. **Repo**: Auto-detect from git remote or active workspace context. All MCP calls MUST be scoped to this repo.
|
|
12
|
-
2. **Task**: If `task_id` provided — use it directly. If omitted — call `task-list` (status: `completed`, limit: 1, ordered by updated_at desc) to get the most recently completed task.
|
|
13
13
|
|
|
14
|
-
Extract durable knowledge from
|
|
14
|
+
Extract durable knowledge from task {{task_id}} for repository.
|
|
15
15
|
|
|
16
16
|
Identify and `memory-store`:
|
|
17
17
|
1. **Mistakes**: Hard-to-find bugs or environment quirks.
|
|
@@ -3,6 +3,13 @@ name: memory-agent-core
|
|
|
3
3
|
description: Behavioral contract for memory-aware agents.
|
|
4
4
|
arguments: []
|
|
5
5
|
agent: Memory Guardian
|
|
6
|
+
version: "1.0.0"
|
|
7
|
+
license: Proprietary — Personal Use Only
|
|
8
|
+
category: workflows
|
|
9
|
+
type: Utility
|
|
10
|
+
complexity: Advanced
|
|
11
|
+
tags: [memory, workflow, guardrails, mcp]
|
|
12
|
+
author: vheins
|
|
6
13
|
---
|
|
7
14
|
# Memory Guardian Protocol
|
|
8
15
|
|
|
@@ -3,14 +3,15 @@ name: memory-guided-review
|
|
|
3
3
|
description: Review code for compliance with stored decisions.
|
|
4
4
|
arguments:
|
|
5
5
|
- name: file_path
|
|
6
|
-
description: File to review.
|
|
7
|
-
required:
|
|
6
|
+
description: File to review.
|
|
7
|
+
required: true
|
|
8
8
|
agent: Code Auditor
|
|
9
|
+
version: "1.0.0"
|
|
10
|
+
category: coding
|
|
11
|
+
tags: [code-review, memory, compliance, mcp]
|
|
9
12
|
---
|
|
10
|
-
## 0. CONTEXT RESOLUTION
|
|
11
|
-
- **file_path**: If provided, use it. If omitted — use the currently active/open file from workspace context, or list recently modified files via git and process them.
|
|
12
13
|
|
|
13
|
-
Audit
|
|
14
|
+
Audit {{file_path}} against stored project knowledge.
|
|
14
15
|
|
|
15
16
|
Steps:
|
|
16
17
|
1. **Search Memory**: Call `memory-search` using `current_file_path='{{file_path}}'`.
|
|
@@ -3,6 +3,13 @@ name: memory-index-policy
|
|
|
3
3
|
description: Strict memory storage criteria.
|
|
4
4
|
arguments: []
|
|
5
5
|
agent: Memory Auditor
|
|
6
|
+
version: "1.0.0"
|
|
7
|
+
license: Proprietary — Personal Use Only
|
|
8
|
+
category: workflows
|
|
9
|
+
type: Utility
|
|
10
|
+
complexity: Beginner
|
|
11
|
+
tags: [memory, indexing, policy, mcp]
|
|
12
|
+
author: vheins
|
|
6
13
|
---
|
|
7
14
|
# Memory Indexing Rules
|
|
8
15
|
|
|
@@ -3,6 +3,13 @@ name: project-briefing
|
|
|
3
3
|
description: Contextual onboarding to current repository.
|
|
4
4
|
arguments: []
|
|
5
5
|
agent: Session Concierge
|
|
6
|
+
version: "1.0.0"
|
|
7
|
+
license: Proprietary — Personal Use Only
|
|
8
|
+
category: workflows
|
|
9
|
+
type: Utility
|
|
10
|
+
complexity: Beginner
|
|
11
|
+
tags: [workflow, briefing, onboarding, memory, backlog]
|
|
12
|
+
author: vheins
|
|
6
13
|
---
|
|
7
14
|
Initialize session in repository.
|
|
8
15
|
|
|
@@ -3,20 +3,24 @@ name: review-and-audit
|
|
|
3
3
|
description: Audit documentation against implementation; generate local tasks for gaps.
|
|
4
4
|
arguments:
|
|
5
5
|
- name: target
|
|
6
|
-
description: Module, feature, or component to audit.
|
|
6
|
+
description: Module, feature, or component to audit.
|
|
7
7
|
required: false
|
|
8
8
|
agent: Quality Auditor
|
|
9
|
+
version: "1.0.0"
|
|
10
|
+
license: Proprietary — Personal Use Only
|
|
11
|
+
category: workflows
|
|
12
|
+
type: Orchestrator
|
|
13
|
+
complexity: Advanced
|
|
14
|
+
tags: [workflow, audit, ux, gap-analysis, mcp]
|
|
15
|
+
author: vheins
|
|
9
16
|
---
|
|
10
|
-
|
|
11
|
-
## 0. CONTEXT RESOLUTION
|
|
12
|
-
- **Target**: If `target` provided — scope audit to that module/feature/component. If omitted — **fallback**: audit ALL existing documentation (README, docs/, prompts, schemas) against the full codebase implementation. Enumerate each doc file and compare with corresponding source.
|
|
13
|
-
- **Repo**: Auto-detect from git remote or active workspace context.
|
|
17
|
+
# Skill: review-and-audit (Audit Agent)
|
|
14
18
|
|
|
15
19
|
## 1. ANALYSIS
|
|
16
|
-
1. **Discovery**: Explore docs and code.
|
|
17
|
-
2. **UX Audit**:
|
|
20
|
+
1. **Sequential Discovery**: Explore docs and code sequentially. NO parallel sub-agents.
|
|
21
|
+
2. **UX Audit**: Use `chrome-dev-tools` for visual, navigation, and responsiveness checks.
|
|
18
22
|
3. **Reference Audit**: Check current tool/prompt/resource definitions through code or the dashboard Reference flow.
|
|
19
|
-
4. **Compare**: Match docs + code findings to find gaps/misalignments.
|
|
23
|
+
4. **Compare**: Match docs + code findings against live UI to find gaps/misalignments.
|
|
20
24
|
|
|
21
25
|
## 🚫 FORBIDDEN: NON-EXECUTION
|
|
22
26
|
DO NOT edit/create/delete files, run commands, or implement code.
|
|
@@ -40,8 +44,8 @@ ONLY call MCP tools. No prose, code, or external plans.
|
|
|
40
44
|
- **Finding**: Gap trigger.
|
|
41
45
|
- **Observation**: Reasoning.
|
|
42
46
|
- **Goal**: Clear objective.
|
|
43
|
-
### 2.
|
|
44
|
-
-
|
|
47
|
+
### 2. Target Files & Implementation
|
|
48
|
+
- Combined scope/steps per path/layer.
|
|
45
49
|
### 3. Acceptance & Verification
|
|
46
50
|
- **Checklist**: `[ ]` criteria.
|
|
47
51
|
- **Testing**: Scenarios.
|
|
@@ -3,25 +3,26 @@ name: review-and-post-issue
|
|
|
3
3
|
description: Audit documentation against implementation; generate GitHub issues for gaps.
|
|
4
4
|
arguments:
|
|
5
5
|
- name: owner
|
|
6
|
-
description: GitHub repo owner.
|
|
7
|
-
required:
|
|
6
|
+
description: GitHub repo owner.
|
|
7
|
+
required: true
|
|
8
8
|
- name: repo
|
|
9
|
-
description: GitHub repo name.
|
|
10
|
-
required:
|
|
9
|
+
description: GitHub repo name.
|
|
10
|
+
required: true
|
|
11
11
|
- name: target
|
|
12
|
-
description: Module, feature, or component to audit.
|
|
12
|
+
description: Module, feature, or component to audit.
|
|
13
13
|
required: false
|
|
14
14
|
agent: Quality Auditor
|
|
15
|
+
version: "1.0.0"
|
|
16
|
+
category: workflows
|
|
17
|
+
tags: [workflow, audit, github, issue-triage]
|
|
15
18
|
---
|
|
16
19
|
|
|
17
|
-
|
|
18
|
-
1. **Owner/Repo**: Auto-detect from `git remote get-url origin` or active workspace context. Parse `owner` and `repo` from the remote URL. Verify before proceeding.
|
|
19
|
-
2. **Target**: If `target` provided — scope to that module/feature. If omitted — **fallback**: audit ALL existing documentation against the full codebase.
|
|
20
|
+
# Skill: review-and-post-issue (Audit Agent)
|
|
20
21
|
|
|
21
22
|
## 1. ANALYSIS
|
|
22
|
-
1. **Discovery**: Explore docs and code.
|
|
23
|
-
2. **UX Audit**: If
|
|
24
|
-
3. **Compare**: Match
|
|
23
|
+
1. **Sequential Discovery**: Explore docs and code sequentially. NO parallel sub-agents.
|
|
24
|
+
2. **UX Audit**: If applicable, use `chrome-dev-tools` for visual, navigation, and responsiveness checks.
|
|
25
|
+
3. **Compare**: Match findings against live UI to find gaps/misalignments.
|
|
25
26
|
|
|
26
27
|
## 🚫 FORBIDDEN: NON-EXECUTION
|
|
27
28
|
DO NOT edit/create/delete files, run commands, or implement code.
|
|
@@ -42,7 +43,7 @@ No prose. No external plans.
|
|
|
42
43
|
- **Finding**: Gap trigger.
|
|
43
44
|
- **Observation**: Reasoning.
|
|
44
45
|
- **Goal**: Clear objective.
|
|
45
|
-
### 2.
|
|
46
|
+
### 2. Target Files & Implementation
|
|
46
47
|
- Path/layer specific changes.
|
|
47
48
|
### 3. Acceptance & Verification
|
|
48
49
|
- **Checklist**: `[ ]` criteria.
|
|
@@ -3,22 +3,25 @@ name: root-cause-analysis
|
|
|
3
3
|
description: 5-Why analysis to trace bug origins.
|
|
4
4
|
arguments:
|
|
5
5
|
- name: tech_stack
|
|
6
|
-
description: Target tech stack.
|
|
7
|
-
required:
|
|
6
|
+
description: Target tech stack.
|
|
7
|
+
required: true
|
|
8
8
|
- name: bug_description
|
|
9
|
-
description: Bug behavior.
|
|
10
|
-
required:
|
|
9
|
+
description: Bug behavior.
|
|
10
|
+
required: true
|
|
11
11
|
- name: symptoms
|
|
12
12
|
description: Logs, errors, metrics.
|
|
13
13
|
required: false
|
|
14
14
|
agent: Diagnostic Lead
|
|
15
|
+
version: "1.0.0"
|
|
16
|
+
category: debugging
|
|
17
|
+
tags: [root-cause, 5-why, debugging, diagnosis]
|
|
15
18
|
---
|
|
16
|
-
## 0. CONTEXT RESOLUTION
|
|
17
|
-
- **tech_stack**: If provided, use directly. If omitted — detect from repo package files or active task tags.
|
|
18
|
-
- **bug_description**: If provided, use directly. If omitted — extract from active task description or recent error/log context.
|
|
19
|
-
- **symptoms**: Optional. Use if provided; otherwise infer from available logs or error traces.
|
|
20
19
|
|
|
21
|
-
Conduct root cause analysis for
|
|
20
|
+
Conduct root cause analysis for repository bug.
|
|
21
|
+
|
|
22
|
+
Stack: {{tech_stack}}
|
|
23
|
+
Bug: {{bug_description}}
|
|
24
|
+
Symptoms: {{symptoms}}
|
|
22
25
|
|
|
23
26
|
Output:
|
|
24
27
|
1. **Symptom**: Technical problem restatement.
|
|
@@ -3,22 +3,25 @@ name: security-triage
|
|
|
3
3
|
description: Assess vulnerability exploitability and prioritize fix.
|
|
4
4
|
arguments:
|
|
5
5
|
- name: tech_stack
|
|
6
|
-
description: App stack.
|
|
7
|
-
required:
|
|
6
|
+
description: App stack.
|
|
7
|
+
required: true
|
|
8
8
|
- name: vulnerability_report
|
|
9
|
-
description: Report details (CVE, SAST).
|
|
10
|
-
required:
|
|
9
|
+
description: Report details (CVE, SAST).
|
|
10
|
+
required: true
|
|
11
11
|
- name: codebase_context
|
|
12
12
|
description: Usage context.
|
|
13
13
|
required: false
|
|
14
14
|
agent: Security Engineer
|
|
15
|
+
version: "1.0.0"
|
|
16
|
+
category: debugging
|
|
17
|
+
tags: [security, triage, vulnerability, cvss, appsec]
|
|
15
18
|
---
|
|
16
|
-
## 0. CONTEXT RESOLUTION
|
|
17
|
-
- **tech_stack**: If provided, use directly. If omitted — detect from repo package files, language, or active task tags.
|
|
18
|
-
- **vulnerability_report**: If provided, use directly. If omitted — extract from active task description, recent conversation, or attached SAST output.
|
|
19
|
-
- **codebase_context**: Optional. Use if provided.
|
|
20
19
|
|
|
21
|
-
Triage
|
|
20
|
+
Triage vulnerability for repository.
|
|
21
|
+
|
|
22
|
+
Stack: {{tech_stack}}
|
|
23
|
+
Report: {{vulnerability_report}}
|
|
24
|
+
Context: {{codebase_context}}
|
|
22
25
|
|
|
23
26
|
Output:
|
|
24
27
|
1. **Classification**: Type, CVE, CVSS, vector.
|
|
@@ -3,18 +3,21 @@ name: senior-code-review
|
|
|
3
3
|
description: Comprehensive production-readiness evaluation.
|
|
4
4
|
arguments:
|
|
5
5
|
- name: tech_stack
|
|
6
|
-
description: Tech stack.
|
|
7
|
-
required:
|
|
6
|
+
description: Tech stack.
|
|
7
|
+
required: true
|
|
8
8
|
- name: context
|
|
9
9
|
description: Production context (SLA, data, conventions).
|
|
10
10
|
required: false
|
|
11
11
|
agent: Principal Reviewer
|
|
12
|
+
version: "1.1.0"
|
|
13
|
+
category: coding
|
|
14
|
+
tags: [code-review, production-readiness, security, observability, senior-review, architecture]
|
|
12
15
|
---
|
|
13
|
-
## 0. CONTEXT RESOLUTION
|
|
14
|
-
- **tech_stack**: If provided, use directly. If omitted — detect from repo package files or language.
|
|
15
|
-
- **context**: Optional. Use if provided; otherwise infer from task description or recent conversation.
|
|
16
16
|
|
|
17
|
-
Perform production-readiness review for
|
|
17
|
+
Perform production-readiness review for repository.
|
|
18
|
+
|
|
19
|
+
Stack: {{tech_stack}}
|
|
20
|
+
Context: {{context}}
|
|
18
21
|
|
|
19
22
|
Audit Dimensions:
|
|
20
23
|
1. **Errors**: Completeness & patterns.
|
|
@@ -6,6 +6,13 @@ arguments:
|
|
|
6
6
|
description: The full URL of the GitHub issue to resolve.
|
|
7
7
|
required: true
|
|
8
8
|
agent: SENTINEL Issue Resolver
|
|
9
|
+
version: "1.0.0"
|
|
10
|
+
license: Proprietary — Personal Use Only
|
|
11
|
+
category: workflows
|
|
12
|
+
type: Orchestrator
|
|
13
|
+
complexity: Advanced
|
|
14
|
+
tags: [workflow, github, issue-resolution, sentinel]
|
|
15
|
+
author: vheins
|
|
9
16
|
---
|
|
10
17
|
|
|
11
18
|
# SENTINEL Protocol
|
|
@@ -26,12 +33,14 @@ You are **SENTINEL**, an elite issue resolution agent. Your primary objective is
|
|
|
26
33
|
1. **Identity**: Use the local Git configuration (name/email) for all commits.
|
|
27
34
|
2. **Commit Format**: Every commit MUST follow this specific structure:
|
|
28
35
|
```
|
|
29
|
-
type(scope):
|
|
30
|
-
|
|
31
|
-
-
|
|
32
|
-
|
|
36
|
+
type(scope): your commit message
|
|
37
|
+
|
|
38
|
+
- {{task_title}}
|
|
39
|
+
{{summary_task}}
|
|
40
|
+
|
|
41
|
+
{{keyword}} #{{issue_number}}
|
|
33
42
|
```
|
|
34
|
-
|
|
43
|
+
Use `fix` for bug fixes, `closes` for features/chores, `resolve` as general. Extract the issue number from the provided `issue_url`.
|
|
35
44
|
|
|
36
45
|
3. **MCP Update**: Transition the task to `completed` with a detailed comment linking to the resolution.
|
|
37
46
|
4. **Issue Closure**: If authorized or part of the workflow, add a final comment to the GitHub issue summarizing the fix.
|
|
@@ -3,14 +3,15 @@ name: session-planner
|
|
|
3
3
|
description: Break objective into atomic tasks.
|
|
4
4
|
arguments:
|
|
5
5
|
- name: objective
|
|
6
|
-
description: High-level session goal.
|
|
7
|
-
required:
|
|
6
|
+
description: High-level session goal.
|
|
7
|
+
required: true
|
|
8
8
|
agent: Strategy Lead
|
|
9
|
+
version: "1.0.0"
|
|
10
|
+
category: workflows
|
|
11
|
+
tags: [workflow, planning, task-breakdown]
|
|
9
12
|
---
|
|
10
|
-
## 0. CONTEXT RESOLUTION
|
|
11
|
-
- **objective**: If provided, use directly. If omitted — extract from the active `in_progress` task description, the most recent pending handoff, or the last user request in conversation context.
|
|
12
13
|
|
|
13
|
-
Plan execution for
|
|
14
|
+
Plan execution for: '{{objective}}'.
|
|
14
15
|
|
|
15
16
|
Steps:
|
|
16
17
|
1. **Orient**: Call `task-list` to avoid duplicate active/backlog work.
|
|
@@ -20,6 +21,6 @@ Steps:
|
|
|
20
21
|
5. **Phase**: Group into `research`, `implementation`, and `validation`.
|
|
21
22
|
6. **Hierarchy**: Use `parent_id` / `depends_on` for sequencing.
|
|
22
23
|
7. **Priority Scale**: When creating tasks, use the exact MCP scale `1=Low`, `2=Normal`, `3=Medium`, `4=High`, `5=Critical`. Higher number means higher urgency.
|
|
23
|
-
8. **Create**: Use `task-create` in current repo with stable `task_code`, tags, and acceptance criteria
|
|
24
|
+
8. **Create**: Use `task-create` in current repo with stable `task_code`, tags, and acceptance criteria.
|
|
24
25
|
|
|
25
26
|
Display final plan to user.
|
|
@@ -3,6 +3,13 @@ name: task-management-guidelines
|
|
|
3
3
|
description: Task tracking & progress management standards.
|
|
4
4
|
arguments: []
|
|
5
5
|
agent: Project Manager
|
|
6
|
+
version: "1.0.0"
|
|
7
|
+
license: Proprietary — Personal Use Only
|
|
8
|
+
category: workflows
|
|
9
|
+
type: Utility
|
|
10
|
+
complexity: Beginner
|
|
11
|
+
tags: [workflow, tasks, status-management, mcp]
|
|
12
|
+
author: vheins
|
|
6
13
|
---
|
|
7
14
|
# Task Management Standards
|
|
8
15
|
|
|
@@ -3,27 +3,31 @@ name: task-memory-executor
|
|
|
3
3
|
description: Sequentially execute pending tasks for current repository.
|
|
4
4
|
arguments:
|
|
5
5
|
- name: agent_identity
|
|
6
|
-
description: Optional runner identity (e.g., Codex-Jarvis, Codex-HulkBuster, Gemini-Ultron). If omitted, identity
|
|
6
|
+
description: Optional runner identity (e.g., Codex-Jarvis, Codex-HulkBuster, Gemini-Ultron). If omitted, infer identity from the active CLI/IDE and append short session token.
|
|
7
7
|
required: false
|
|
8
8
|
agent: Task Executor
|
|
9
|
+
version: "1.5.4"
|
|
10
|
+
license: Proprietary — Personal Use Only
|
|
11
|
+
category: workflows
|
|
12
|
+
type: Orchestrator
|
|
13
|
+
complexity: Advanced
|
|
14
|
+
tags: [workflow, task-execution, memory]
|
|
15
|
+
author: vheins
|
|
9
16
|
---
|
|
17
|
+
# Skill: task-memory-executor
|
|
10
18
|
|
|
11
19
|
## 1. SYNC & FILTER
|
|
12
|
-
1. **Identify**:
|
|
13
|
-
- Resolver priority: `agent_identity` argument -> auto session identity
|
|
20
|
+
1. **Identify**: Resolve runner identity + repo name.
|
|
21
|
+
- Resolver priority: `agent_identity` argument -> auto-generated session identity for this run.
|
|
22
|
+
- Compute this once and reuse it across the full execution loop.
|
|
14
23
|
- Auto identity format: `<runner>-<randomName>`.
|
|
15
24
|
- `<runner>` should come from the active CLI/IDE label (for example `vibe-coding-cli`, `vibe-coding-ide`, `Codex`, `Gemini`) and `<randomName>` is a short stable session token.
|
|
16
|
-
- Use this identity
|
|
25
|
+
- Use this identity in task claim/update and handoff metadata so parallel terminals remain attributable.
|
|
17
26
|
2. **List**: Call `task-list` ONCE for active tasks.
|
|
18
|
-
3. **Dependency-
|
|
19
|
-
-
|
|
20
|
-
-
|
|
21
|
-
|
|
22
|
-
- `depends_on` is empty, or the dependency task exists and is `completed`, and
|
|
23
|
-
- `parent_id` is empty, or the parent task is `completed`.
|
|
24
|
-
- Keep non-ready tasks out of execution for now.
|
|
25
|
-
- If a task is blocked by unresolved dependency/parent, do not claim it and continue to the next ready task.
|
|
26
|
-
- If all active tasks are blocked, report blockers and stop execution loop.
|
|
27
|
+
3. **Dependency-ready filtering**: In the returned `task-list` order, only run `backlog`/`pending` tasks where:
|
|
28
|
+
- `depends_on` is empty or completed, and
|
|
29
|
+
- `parent_id` is empty or completed.
|
|
30
|
+
- If all are blocked, report blockers and pause.
|
|
27
31
|
4. **Handoffs**: Call `handoff-list` with `status=pending` and inspect relevant transfer context before selecting work. Treat a pending handoff as active only when it has unfinished work, a blocker, a next owner, or a linked task. If it is obsolete or only describes completed work, close it with `handoff-update status=expired`.
|
|
28
32
|
5. **Audit**: Identify stale `in_progress` tasks (>30m no update). Hydrate via `task-detail` to check timestamps.
|
|
29
33
|
|
|
@@ -33,14 +37,14 @@ agent: Task Executor
|
|
|
33
37
|
- do NOT re-fetch or re-inject full detail
|
|
34
38
|
|
|
35
39
|
## 2. EXECUTION LOOP
|
|
36
|
-
1. **Parallelism & Sub-Agents**:
|
|
40
|
+
1. **Parallelism & Sub-Agents**:
|
|
37
41
|
- **MANDATORY**: Tasks MUST be delegated to sub-agents if the current agent has sub-agent capabilities.
|
|
38
|
-
- **Decomposition**: If a task is too broad, the agent is allowed to decompose it into multiple tasks (via `task-create`) and delegate them to sub-agents.
|
|
42
|
+
- **Decomposition**: If a task is too broad, the agent is allowed to decompose it into multiple tasks (via `task-create`) and delegate them to sub-agents.
|
|
39
43
|
- **Spawn Limit**: The total number of parallel sub-agents MUST NOT exceed 2. Each sub-agent executes EXACTLY ONE task at a time.
|
|
40
44
|
- **Fallback**: If the current agent CANNOT spawn sub-agents, it MUST execute tasks sequentially (exactly ONE concurrent task) until the queue is clear.
|
|
41
45
|
2. **Hydrate**: Fetch full context via `task-detail` for the assigned task.
|
|
42
|
-
3. **Readiness re-check**: Re-check
|
|
43
|
-
4. **Claim**: Use `task-claim` with `task_code` or `task_id` before implementation
|
|
46
|
+
3. **Readiness re-check**: Re-check `depends_on`/`parent_id` from hydrated detail; if still blocked, skip and pick next ready task.
|
|
47
|
+
4. **Claim**: Use `task-claim` with `task_code` or `task_id` before implementation. Include the runner identity in claim metadata.
|
|
44
48
|
5. **Start**: `task-update` status to `in_progress` (MUST transition: `pending` → `in_progress`). Add agent/role metadata and the same runner identity used by claims.
|
|
45
49
|
6. **Research**: Call `memory-search` (Hybrid Search) and hydrate relevant results with `memory-detail`.
|
|
46
50
|
7. **Standards (MANDATORY PER TASK)**: Call `standard-search` for every task inside the execution loop before any code edit, test edit, refactor, migration, or implementation decision, using the task intent, affected files, inferred language, stack, and repo as filters. This is required even for small tasks, decomposed tasks, and sub-agent assignments. Apply only relevant standards, hydrate details when needed, and if no relevant standards are returned, continue and state that no applicable standards were found.
|
|
@@ -57,16 +61,19 @@ agent: Task Executor
|
|
|
57
61
|
- **Cleanup**: Completing/canceling a task automatically releases active claims and expires linked pending handoffs.
|
|
58
62
|
- **Memory**: Store insights as `code_fact`/`pattern` via `memory-store`.
|
|
59
63
|
- **Standards**: Store durable implementation rules via `standard-store`, not generic memory.
|
|
60
|
-
- **Handoff**: If work remains or ownership changes, create `handoff-create` with concise summary and structured context containing next steps/blockers/remaining work. Do not create handoffs for completed-work summaries. Include runner identity in handoff metadata
|
|
64
|
+
- **Handoff**: If work remains or ownership changes, create `handoff-create` with concise summary and structured context containing next steps/blockers/remaining work. Do not create handoffs for completed-work summaries. Include the runner identity in handoff context/metadata.
|
|
61
65
|
- **Retrospective**: Invoke `learning-retrospective`.
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
66
|
+
- **Commit**: Atomic git commit. The commit message MUST follow this format:
|
|
67
|
+
```
|
|
68
|
+
type(scope): your commit message
|
|
69
|
+
|
|
70
|
+
- {{task_title}}
|
|
71
|
+
{{summary_task}}
|
|
72
|
+
|
|
73
|
+
{{keyword}} #{{issue_number}}
|
|
74
|
+
```
|
|
75
|
+
Use `fix` for bug fixes, `closes` for features/chores, `resolve` as general. Multiple issues: e.g., `fix #123, closes #124, resolve #125`. Issues close only when merged into the default branch.
|
|
76
|
+
- **Issue Number Extraction**: Read the issue number from task metadata when available. If metadata only contains a GitHub Issue URL, extract the trailing issue number from that URL before committing.
|
|
70
77
|
|
|
71
78
|
10A. **BLOCKER HANDLING (AUTOMATIC TASK CREATION)**:
|
|
72
79
|
- **Trigger**: When task status is updated to `blocked` with a comment explaining the blocker reason.
|
|
@@ -82,25 +89,16 @@ agent: Task Executor
|
|
|
82
89
|
- Task Code: `${parent_task_code}-FIX-${unix_timestamp}`
|
|
83
90
|
- Title: `FIX: [${parent_task_title}] - Resolve: ${blocker_reason_extracted}`
|
|
84
91
|
- Description: Follow standard format (1. Context & Analysis, 2. Step & Implementation, 3. Acceptance & Verification)
|
|
85
|
-
- Context: Reference parent task code and explain the blocking factor
|
|
86
|
-
- Steps: Identify root cause and implement fix
|
|
87
|
-
- Verification: Confirm parent task can proceed
|
|
88
92
|
- Parent ID: Set to current blocked task ID
|
|
89
93
|
- Priority: `4` (HIGH)
|
|
90
94
|
- Phase: `blocker-resolution`
|
|
91
95
|
- Tags: `["blocker-fix", "auto-generated"]`
|
|
92
96
|
- Metadata: Include `triggered_by_task`, `blocker_reason`, `creation_timestamp`, and `agent_identity`
|
|
93
|
-
- **Update Parent Task**: Add comment linking to the new blocker-fix task
|
|
94
|
-
- **Link Dependencies**: Set parent task's `depends_on` to the new blocker-fix task
|
|
97
|
+
- **Update Parent Task**: Add comment linking to the new blocker-fix task
|
|
98
|
+
- **Link Dependencies**: Set parent task's `depends_on` to the new blocker-fix task
|
|
95
99
|
- **Skip Creation** (if external): Log that blocker is external, keep task status as `blocked`, no automatic task created.
|
|
96
100
|
|
|
97
|
-
11. **
|
|
98
|
-
- `task-list` (pending) → claim next
|
|
99
|
-
- If empty → promote backlog → loop
|
|
100
|
-
- If backlog empty → check stale in_progress → loop
|
|
101
|
-
- If stale empty → check handoff → loop
|
|
102
|
-
- **Only then → STOP**
|
|
103
|
-
- **Violation = incomplete execution**
|
|
101
|
+
11. **Repeat**: Claim next task from `task-list`.
|
|
104
102
|
|
|
105
103
|
## 3. BACKLOG MAINTENANCE
|
|
106
104
|
If active queue is empty:
|
|
@@ -112,90 +110,43 @@ If active queue is empty:
|
|
|
112
110
|
|
|
113
111
|
### Internal Solvable Blocker Patterns (Trigger Auto Task Creation)
|
|
114
112
|
|
|
115
|
-
**Missing Dependencies/Modules**:
|
|
116
|
-
- `module not found`, `missing dependency`, `import not installed`, `undefined function`, `no such file`
|
|
113
|
+
**Missing Dependencies/Modules**: `module not found`, `missing dependency`, `import not installed`
|
|
117
114
|
- Example: "ImportError: Function 'validateToken' not found"
|
|
118
115
|
|
|
119
|
-
**Not Implemented**:
|
|
120
|
-
- `function/method not implemented`, `interface not exists`, `component undefined`
|
|
116
|
+
**Not Implemented**: `function not implemented`, `interface not exists`, `component undefined`
|
|
121
117
|
- Example: "Function 'processPayment' not implemented - exists in type definitions but no implementation"
|
|
122
118
|
|
|
123
|
-
**Configuration/Setup Issues**:
|
|
124
|
-
- `.env missing`, `configuration not set`, `setup invalid`, `environment variable not found`
|
|
119
|
+
**Configuration/Setup Issues**: `.env missing`, `configuration not set`, `setup invalid`
|
|
125
120
|
- Example: "DATABASE_URL environment variable not set"
|
|
126
121
|
|
|
127
|
-
**Test/Build Failures
|
|
128
|
-
- `test failed`, `assertion failed`, `type error`, `build error`, `compilation failed`
|
|
122
|
+
**Test/Build Failures**: `test failed`, `assertion failed`, `type error`, `build error`
|
|
129
123
|
- Example: "Type error: Property 'user' does not exist on type 'Request'"
|
|
130
124
|
|
|
131
|
-
**Implementation Gaps**:
|
|
132
|
-
- `endpoint not implemented`, `API route missing`, `middleware not registered`
|
|
133
|
-
- Example: "GET /api/users endpoint returns 404 - not implemented"
|
|
134
|
-
|
|
135
125
|
### External Blocker Patterns (Skip Auto Task Creation)
|
|
136
126
|
|
|
137
|
-
**Awaiting User/External Action**:
|
|
138
|
-
-
|
|
139
|
-
- Example: "Awaiting user approval for database migration", "Requires manual infrastructure setup"
|
|
127
|
+
**Awaiting User/External Action**: `awaiting user`, `requires manual`, `external dependency`
|
|
128
|
+
- Example: "Awaiting user approval for database migration"
|
|
140
129
|
|
|
141
|
-
**External Service Issues**:
|
|
142
|
-
-
|
|
143
|
-
- Example: "Payment gateway API not responding - external service unavailable"
|
|
130
|
+
**External Service Issues**: `API not responding`, `service unavailable`, `server not ready`
|
|
131
|
+
- Example: "Payment gateway API not responding"
|
|
144
132
|
|
|
145
|
-
|
|
146
|
-
- `install locally`, `run script manually`, `requires external tool`
|
|
147
|
-
- Example: "Requires manual Docker setup - not part of this task"
|
|
133
|
+
### Auto Task Creation Example
|
|
148
134
|
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
**Parent Task Blocked:**
|
|
135
|
+
**Parent Task Blocked**:
|
|
152
136
|
```
|
|
153
|
-
Task
|
|
154
|
-
Title: Add payment processing middleware
|
|
137
|
+
Task: FEATURE-42 (Add payment middleware)
|
|
155
138
|
Status: blocked
|
|
156
|
-
Comment: "Function 'chargeCard'
|
|
139
|
+
Comment: "Function 'chargeCard' not implemented"
|
|
157
140
|
```
|
|
158
141
|
|
|
159
|
-
**
|
|
160
|
-
```
|
|
161
|
-
Pattern detected: "Function .* not implemented" → INTERNAL SOLVABLE ✅
|
|
162
|
-
Action: Create blocker-fix task
|
|
142
|
+
**Auto-Generated Fix Task**:
|
|
163
143
|
```
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
Task Code: FEATURE-42-FIX-1714737908
|
|
168
|
-
Title: FIX: [Add payment processing middleware] - Resolve: Function 'chargeCard' not implemented
|
|
169
|
-
Parent ID: FEATURE-42
|
|
144
|
+
Code: FEATURE-42-FIX-1714737908
|
|
145
|
+
Title: FIX: [Add payment middleware] - Resolve: Function 'chargeCard' not implemented
|
|
146
|
+
Parent: FEATURE-42
|
|
170
147
|
Priority: 4 (HIGH)
|
|
171
|
-
Phase: blocker-resolution
|
|
172
148
|
Tags: ["blocker-fix", "auto-generated"]
|
|
173
|
-
|
|
174
|
-
Description:
|
|
175
|
-
1. Context & Analysis:
|
|
176
|
-
Parent task FEATURE-42 blocked due to: Function 'chargeCard' in services/payment.ts not implemented
|
|
177
|
-
The function exists in the interface but has no implementation body
|
|
178
|
-
Blocking factor: services/payment.ts - chargeCard function stub
|
|
179
|
-
|
|
180
|
-
2. Step & Implementation:
|
|
181
|
-
- Review services/payment.ts chargeCard function signature
|
|
182
|
-
- Implement full payment processing logic (charges, refunds, error handling)
|
|
183
|
-
- Add proper error handling and validation
|
|
184
|
-
- Write unit tests for charge scenarios
|
|
185
|
-
|
|
186
|
-
3. Acceptance & Verification:
|
|
187
|
-
- chargeCard function fully implemented
|
|
188
|
-
- Unit tests passing
|
|
189
|
-
- Function can be called from FEATURE-42 middleware
|
|
190
|
-
- FEATURE-42 parent task can proceed without blockers
|
|
191
149
|
```
|
|
192
150
|
|
|
193
|
-
**Execution Workflow:**
|
|
194
|
-
1. Agent picks blocker-fix task first (independent, no dependencies)
|
|
195
|
-
2. Implements `chargeCard` function
|
|
196
|
-
3. Completes blocker-fix task
|
|
197
|
-
4. Parent task FEATURE-42 becomes ready (fix completed)
|
|
198
|
-
5. Agent proceeds with FEATURE-42 execution
|
|
199
|
-
|
|
200
151
|
## 5. REPORT
|
|
201
152
|
Provide progress summary.
|
|
@@ -3,14 +3,15 @@ name: tech-affinity-scout
|
|
|
3
3
|
description: Scout best practices from similar tech projects.
|
|
4
4
|
arguments:
|
|
5
5
|
- name: tags
|
|
6
|
-
description: CSV tech tags (e.g., 'react, tailwind').
|
|
7
|
-
required:
|
|
6
|
+
description: CSV tech tags (e.g., 'react, tailwind').
|
|
7
|
+
required: true
|
|
8
8
|
agent: Tech Scout
|
|
9
|
+
version: "1.0.0"
|
|
10
|
+
category: planning
|
|
11
|
+
tags: [planning, patterns, memory, tech-affinity]
|
|
9
12
|
---
|
|
10
|
-
## 0. CONTEXT RESOLUTION
|
|
11
|
-
- **tags**: If provided, use directly. If omitted — detect from repo package files, file extensions, or active task tags.
|
|
12
13
|
|
|
13
|
-
Scout for relevant knowledge using
|
|
14
|
+
Scout for relevant knowledge using tags: [{{tags}}].
|
|
14
15
|
|
|
15
16
|
Steps:
|
|
16
17
|
1. **Search**: Call `memory-search` with `current_tags=[{{tags}}]`.
|
|
@@ -1,23 +1,54 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: technical-planning
|
|
3
|
-
description: Technical blueprint for new feature/product.
|
|
3
|
+
description: Technical blueprint for new feature/product, including full-roadmap execution planning.
|
|
4
4
|
arguments:
|
|
5
5
|
- name: objective
|
|
6
|
-
description: High-level goal.
|
|
7
|
-
required:
|
|
6
|
+
description: High-level goal.
|
|
7
|
+
required: true
|
|
8
8
|
agent: Technical Architect
|
|
9
|
+
version: "1.0.0"
|
|
10
|
+
license: Proprietary — Personal Use Only
|
|
11
|
+
category: workflows
|
|
12
|
+
type: Pipeline
|
|
13
|
+
complexity: Advanced
|
|
14
|
+
tags: [workflow, technical-planning]
|
|
15
|
+
author: vheins
|
|
9
16
|
---
|
|
10
|
-
## 0. CONTEXT RESOLUTION
|
|
11
|
-
- **objective**: If provided, use directly. If omitted — extract from the active `in_progress` task description, the most recent pending handoff summary, or the last user instruction in conversation context.
|
|
12
17
|
|
|
13
|
-
|
|
18
|
+
# Skill: Technical Planning Pipeline
|
|
14
19
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
2. **Architecture**: Components & data flow.
|
|
18
|
-
3. **Domain Model**: Entities, value objects, events.
|
|
19
|
-
4. **Database**: Normalized schema & relationships.
|
|
20
|
-
5. **API Contracts**: Requests, responses, errors.
|
|
21
|
-
6. **Execution**: Roadmap & phased delivery.
|
|
20
|
+
## Purpose
|
|
21
|
+
Produces a comprehensive technical blueprint (tech stack, architecture, domain, database, API contracts, execution plan).
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
## Input
|
|
24
|
+
| Variable | Type | Req | Description |
|
|
25
|
+
|----------|------|-----|-------------|
|
|
26
|
+
| `objective` | string | Yes | High-level goal |
|
|
27
|
+
|
|
28
|
+
## FSM
|
|
29
|
+
Entry: create-task → task-claim Exit: task-update completed|blocked
|
|
30
|
+
Guard: A(N) requires all prev A✅
|
|
31
|
+
|
|
32
|
+
A1 | tech-stack-selection | — | tech stack decision | —
|
|
33
|
+
A2 | architecture-design | A1✅ | architecture plan | design/architecture/
|
|
34
|
+
G1 | approve stack + arch | A2✅ | → proceed | —
|
|
35
|
+
A3 | domain-modeling | G1✅ | domain model | design/domain/
|
|
36
|
+
A4 | database-schema-planning | A3✅ | schema plan | design/database/
|
|
37
|
+
G2 | approve domain + db | A4✅ | → proceed | —
|
|
38
|
+
A5 | api-contract-design | G2✅ | API contract | design/api/
|
|
39
|
+
G3 | approve API contracts | A5✅ | → proceed | —
|
|
40
|
+
A6 | roadmap-creation + all sprint plans + MCP tasks | G3✅ | roadmap + sprint-1..sprint-N + allocation audit + MCP task tree | tasks/roadmap/ + tasks/sprints/ + local-memory-mcp
|
|
41
|
+
GF | final approve | A6✅ | → documentation | —
|
|
42
|
+
|
|
43
|
+
## Execution Planning Rule
|
|
44
|
+
A6 MUST cover the full delivery horizon. `sprint-planning` is per sprint, so A6 must derive `total_sprints` from roadmap timeline/capacity and generate one sprint-planning task for every sprint number from 1 through `total_sprints`. After sprint allocation audit passes, A6 must invoke `create-task` to create the Local Memory MCP task tree with parent/child and `depends_on` links. The final approval is blocked if only `sprint-1.md` exists while the roadmap contains later sprint-ready work, or if the MCP task tree was not created from the final sprint plans.
|
|
45
|
+
|
|
46
|
+
## Optional
|
|
47
|
+
A7 | capacity-planning | — | capacity plan | —
|
|
48
|
+
A8 | event-storming | — | domain discovery | —
|
|
49
|
+
A9 | dependency-mapping | — | dependency map | —
|
|
50
|
+
A10 | microservices-boundary | — | service boundaries | —
|
|
51
|
+
A11 | monolith-decomposition | — | migration plan | —
|
|
52
|
+
A12 | sla-slo-definition | — | SLA/SLO doc | —
|
|
53
|
+
A13 | system-design-review | — | review findings | —
|
|
54
|
+
A14 | tech-affinity-scout | — | best practices | —
|
|
@@ -3,6 +3,13 @@ name: tool-usage-guidelines
|
|
|
3
3
|
description: Tool usage standards & data integrity.
|
|
4
4
|
arguments: []
|
|
5
5
|
agent: System Architect
|
|
6
|
+
version: "1.0.0"
|
|
7
|
+
license: Proprietary — Personal Use Only
|
|
8
|
+
category: workflows
|
|
9
|
+
type: Utility
|
|
10
|
+
complexity: Beginner
|
|
11
|
+
tags: [workflow, tooling, memory, policy, mcp]
|
|
12
|
+
author: vheins
|
|
6
13
|
---
|
|
7
14
|
# Tool Usage Standards
|
|
8
15
|
|