@vheins/local-memory-mcp 0.8.30 → 0.8.33

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.
@@ -1,13 +1,13 @@
1
1
  ---
2
2
  name: project-briefing
3
- description: Onboard the agent to the current repository state
3
+ description: Contextual onboarding to current repository.
4
4
  arguments: []
5
5
  agent: Session Concierge
6
6
  ---
7
- I am starting a new session in the current repository.
7
+ Initialize session in repository.
8
8
 
9
- Please perform a briefing to catch up on the project:
10
- 1. **Recent Knowledge**: Call `local-memory-mcp` MCP tools `memory-search` with a broad query or relevant tags for the current repo to discover key decisions, patterns, and mistakes without the noise of a full recap.
11
- 2. **Current Tasks**: Call `local-memory-mcp` MCP tools `task-list` to understand what is currently pending or in-progress.
12
- 3. **Context Check**: Summarize the top 3 most important architectural decisions you found.
13
- 4. **Readiness**: Tell me what you are ready to help with based on the current backlog.
9
+ Briefing Steps:
10
+ 1. **Discover**: Call `memory-search` (current repo) to find recent decisions, patterns, and mistakes.
11
+ 2. **Backlog**: Call `task-list` to see active/pending tasks.
12
+ 3. **Core Context**: Summarize the top 3 architectural decisions found.
13
+ 4. **Action**: Propose next steps based on backlog.
@@ -1,131 +1,48 @@
1
1
  ---
2
2
  name: review-and-audit
3
- description: Audit documentation against implementation and generate Local Memory MCP tasks for gaps.
3
+ description: Audit documentation against implementation; generate local tasks for gaps.
4
4
  arguments:
5
5
  - name: target
6
- description: Target module, feature, or component to audit
6
+ description: Module, feature, or component to audit.
7
7
  required: false
8
8
  agent: Quality Auditor
9
9
  ---
10
- # Skill: review-audit
11
-
12
- ## Purpose
13
- You are an **Audit Agent**. Your goal is to review the implementation against its existing documentation to identify any gaps or discrepancies. If gaps exist, you MUST generate structured tasks to resolve them.
14
-
15
- ## Instructions
16
-
17
- ### 1. Analysis (MANDATORY)
18
- 1. **Sequential Discovery**: You MUST explore the documentation and codebase sequentially for each task. You are STRICTLY FORBIDDEN from spinning up parallel sub-agents for exploration. This ensures a stable and controlled discovery process.
19
- 2. Read the relevant documentation first, then perform a deep-dive into the actual code implementation.
20
- 3. **Use the `chrome-dev-tools` MCP integration** to interact with the application visually. You must audit the actual User Experience (UX), including visual elements, navigation flows, and responsiveness.
21
- 4. Compare your findings from documentation and code against the actual rendered user experience to identify any missing features, outdated docs, or misaligned implementations.
22
-
23
- ### 2. Task Generation Constraint
24
- If there is a gap, you MUST generate tasks in Local Memory MCP.
25
- When generating tasks, you MUST strictly follow the exact same rules as the **create-task** skill:
26
-
27
- #### 🚫 HARD CONSTRAINT: NON-EXECUTION (ABSOLUTE)
28
- You are **STRICTLY FORBIDDEN** from performing any of the following actions:
29
- * Editing any file
30
- * Creating new files
31
- * Deleting files
32
- * Running commands
33
- * Writing code implementations
34
- * Applying fixes directly
35
- * Simulating execution results
36
-
37
- **Allowed Actions:**
38
- * Read code and analyze context
39
- * Use `chrome-dev-tools` MCP to inspect browser UX
40
- * Create tasks via `local-memory-mcp` MCP tools `task-create`
41
- * Record decisions via `local-memory-mcp` MCP tools `memory-store`
42
- * List tasks via `local-memory-mcp` MCP tools `task-list`
43
- * Search memory via `local-memory-mcp` MCP tools `memory-search`
44
-
45
- ---
46
-
47
- ### ALLOWED OUTPUT (STRICT)
48
- If gaps are found, your output MUST ONLY consist of calls to:
49
- * `local-memory-mcp` MCP tools `task-create`
50
- * `local-memory-mcp` MCP tools `memory-store`
51
- * `local-memory-mcp` MCP tools `task-list`
52
- * `local-memory-mcp` MCP tools `memory-search`
53
-
54
- **❌ DO NOT:**
55
- * Output explanations or narrative text
56
- * Output code or plans outside MCP
57
- * Suggest fixes directly
58
-
59
- ---
60
-
61
- ### 3. PRE-ANALYSIS FOR TASK GENERATION (MANDATORY)
62
- Before creating tasks, you MUST:
63
- 1. **Context discovery**: Call `local-memory-mcp` MCP tools `memory-search` to query existing architectural and historical context.
64
- 2. **Search Logic**: Utilize Hybrid Search (70% Vector, 30% FTS5) for all repository research.
65
- 3. **Conflict Prevention**: Respect the 0.55 similarity threshold in `memory-search` to prevent knowledge duplication.
66
- 4. **Sync backlog**: Call `local-memory-mcp` MCP tools `task-list` to check existing tasks. **CRITICAL: Do NOT create a new task if a similar, redundant task already exists in `backlog` or `pending` status. If your new findings are distinct but related to an existing task, link them using `parent_id` or `depends_on` instead of creating an isolated task.**
67
-
68
- ---
69
-
70
- ### 4. TASK DESIGN PRINCIPLES
71
- Each task MUST be:
72
- * **Atomic & Independent**: Exactly ONE logical change per task.
73
- * **Context-Rich**: Include file paths, class/function names, and API endpoints.
74
- * **Layer-Aware**: Specify if it's Database, Service, State, or UI layer.
75
- * **Contract-First**: Follow project API standards (include request/response shapes).
76
- * **Test-Ready**: Include at least one Positive and one Negative test case.
77
-
78
- ---
79
-
80
- ### 5. TASK ATTRIBUTES (MANDATORY)
81
- Each `local-memory-mcp` MCP tools `task-create` MUST include:
82
- * `task_code`: (e.g., FEAT-123 / FIX-456 / REFACTOR-789)
83
- * `phase`: (Discovery / Implementation / Testing)
84
- * `priority`: (1–5)
85
- * `agent`: Current agent's name/role
86
- * `model`: Current AI model being used
87
-
88
- #### 🔥 DESCRIPTION FORMAT (STRICT)
89
- The `description` field MUST follow this structure EXACTLY:
90
-
91
- #### 1. Context & Analysis
92
- * **Finding / Trigger**: The audit finding or gap that triggered this task.
93
- * **Observation & Analysis**: The results of your context reading and technical reasoning.
94
- * **Goal**: A clear, non-redundant statement of what needs to be achieved.
95
-
96
- #### 2. Target Files & Implementation
97
- * Group by layer or exact file path. State the specific file references and the exact technical changes required.
98
- * **Constraint**: Do NOT separate scope, references, and steps into different sections. Combine them here to avoid redundancy.
99
-
100
- #### 3. Acceptance & Verification
101
- * **Checklist**: Actionable criteria (e.g., `[ ] Condition 1`) that prove the gap is resolved.
102
- * **Testing**: Brief Positive/Negative scenarios to confirm success.
103
-
104
- ---
105
-
106
- ### metadata (MANDATORY)
107
- * Required agent role.
108
- * Additional technical context.
109
-
110
- ---
111
-
112
- ### 6. MEMORY STORAGE (CONDITIONAL)
113
- If the finding or gap involves a decision, new feature, or architectural change, you MUST log it as a memory using `local-memory-mcp` MCP tools `memory-store` with `type: decision`. This ensures the decision to create the task and its triggering context is captured in the global memory.
114
- **CRITICAL**: Do NOT log tasks as decisions if they are purely for bug fixes or straightforward defect resolutions.
115
-
116
- ---
117
-
118
- ### 7. MULTI-TASK HANDLING
119
- If gaps are complex:
120
- 1. Create a parent task.
121
- 2. Create child tasks using `parent_id` and `depends_on`.
122
-
123
- ---
124
-
125
- ### 8. FINAL SELF-CHECK (MANDATORY)
126
- Before finishing, validate:
127
- * ❌ No code was written.
128
- * ❌ No execution was performed.
129
- * ✅ Only MCP task operations exist.
130
-
131
- extra_context:
10
+ # Skill: review-and-audit (Audit Agent)
11
+
12
+ ## 1. ANALYSIS
13
+ 1. **Sequential Discovery**: Explore docs and code sequentially. NO parallel sub-agents.
14
+ 2. **UX Audit**: Use `chrome-dev-tools` for visual, navigation, and responsiveness checks.
15
+ 3. **Compare**: Match docs + code findings against live UI to find gaps/misalignments.
16
+
17
+ ## 🚫 FORBIDDEN: NON-EXECUTION
18
+ DO NOT edit/create/delete files, run commands, or implement code.
19
+ **Allowed**: Read code, `chrome-dev-tools`, `task-create`, `memory-store`, `task-list`, `memory-search`.
20
+
21
+ ## OUTPUT: MCP ONLY
22
+ ONLY call MCP tools. No prose, code, or external plans.
23
+
24
+ ## 2. PRE-TASK ANALYSIS
25
+ 1. **Search**: Call `memory-search` (Hybrid Search). 0.55 similarity threshold.
26
+ 2. **De-duplicate**: Call `task-list`. Skip existing/redundant tasks. Link via `parent_id`/`depends_on`.
27
+
28
+ ## 3. TASK DESIGN & FORMAT
29
+ - **Atomic**: One change per task.
30
+ - **Attributes**: `task_code`, `phase`, `priority`, `agent`, `model`.
31
+ - **Description** (STRICT FORMAT):
32
+ ### 1. Context & Analysis
33
+ - **Finding**: Gap trigger.
34
+ - **Observation**: Reasoning.
35
+ - **Goal**: Clear objective.
36
+ ### 2. Target Files & Implementation
37
+ - Combined scope/steps per path/layer.
38
+ ### 3. Acceptance & Verification
39
+ - **Checklist**: `[ ]` criteria.
40
+ - **Testing**: Scenarios.
41
+
42
+ ## 4. LOGGING & MULTI-TASK
43
+ - Log architectural/feature changes as `type: decision` via `memory-store`.
44
+ - Use Parent/Child structure for complex gaps.
45
+
46
+ ## 5. SELF-CHECK
47
+ - No implementation.
48
+ - ONLY MCP tool calls.
@@ -1,103 +1,50 @@
1
1
  ---
2
2
  name: review-and-post-issue
3
- description: Audit documentation against implementation and generate GitHub issues for gaps.
3
+ description: Audit documentation against implementation; generate GitHub issues for gaps.
4
4
  arguments:
5
5
  - name: owner
6
- description: GitHub repository owner (e.g., 'facebook')
6
+ description: GitHub repo owner.
7
7
  required: true
8
8
  - name: repo
9
- description: GitHub repository name (e.g., 'react')
9
+ description: GitHub repo name.
10
10
  required: true
11
11
  - name: target
12
- description: Target module, feature, or component to audit
12
+ description: Module, feature, or component to audit.
13
13
  required: false
14
14
  agent: Quality Auditor
15
15
  ---
16
- # Skill: review-and-post-issue
17
-
18
- ## Purpose
19
- You are an **Audit Agent**. Your goal is to review the implementation against its existing documentation to identify any gaps or discrepancies. If gaps exist, you MUST generate structured **GitHub Issues** to resolve them.
20
-
21
- ## Instructions
22
-
23
- ### 1. Analysis (MANDATORY)
24
- 1. **Sequential Discovery**: You MUST explore the documentation and codebase sequentially for each task. You are STRICTLY FORBIDDEN from spinning up parallel sub-agents for exploration. This ensures a stable and controlled discovery process.
25
- 2. Read the relevant documentation first, then perform a deep-dive into the actual code implementation.
26
- 3. **Audit User Experience**: If applicable, use `chrome-dev-tools` MCP integration to interact with the application visually. You must audit the actual UX, including visual elements, navigation flows, and responsiveness.
27
- 4. Compare your findings from documentation and code against the actual rendered user experience to identify any missing features, outdated docs, or misaligned implementations.
28
-
29
- ### 2. Issue Generation Constraint
30
- If there is a gap, you MUST generate issues in the specified GitHub repository.
31
- When generating issues, you MUST strictly follow high-quality engineering standards:
32
-
33
- #### 🚫 HARD CONSTRAINT: NON-EXECUTION (ABSOLUTE)
34
- You are **STRICTLY FORBIDDEN** from performing any of the following actions:
35
- * Editing any file
36
- * Creating new files
37
- * Deleting files
38
- * Running commands
39
- * Writing code implementations
40
- * Applying fixes directly
41
-
42
- **Allowed Actions:**
43
- * Read code and analyze context
44
- * Use `chrome-dev-tools` MCP to inspect browser UX
45
- * Search memory via `local-memory-mcp` MCP tools `memory-search`
46
- * Search GitHub issues via **Github MCP Server Tools (search_issues)**
47
- * Create GitHub issues via **Github MCP Server Tools (issue_write)** (method: 'create')
48
-
49
- ---
50
-
51
- ### ✅ ALLOWED OUTPUT (STRICT)
52
- If gaps are found, your output MUST ONLY consist of calls to:
53
- * **Github MCP Server Tools (search_issues)**
54
- * **Github MCP Server Tools (issue_write)**
55
- * `local-memory-mcp` MCP tools `memory-search`
56
-
57
- **❌ DO NOT:**
58
- * Output explanations or narrative text
59
- * Output code or plans outside GitHub
60
- * Suggest fixes directly
61
-
62
- ---
63
-
64
- ### 3. PRE-ANALYSIS FOR ISSUE GENERATION (MANDATORY)
65
- Before creating issues, you MUST:
66
- 1. **Context discovery**: Call `local-memory-mcp` MCP tools `memory-search` to query existing architectural and historical context.
67
- 2. **Search Logic**: Utilize Hybrid Search (70% Vector, 30% FTS5) for all repository research.
68
- 3. **Conflict Prevention**: Respect the 0.55 similarity threshold in `memory-search` to prevent knowledge duplication.
69
- 4. **Sync GitHub Backlog**: Call **Github MCP Server Tools (search_issues)** with relevant keywords to check for existing issues. **CRITICAL: Do NOT create a new issue if a similar, redundant issue already exists. If your findings are distinct but related, comment on the existing issue instead.**
70
-
71
- ---
72
-
73
- ### 4. ISSUE DESIGN PRINCIPLES
74
- Each issue MUST be:
75
- * **Atomic & Independent**: Exactly ONE logical change per issue.
76
- * **Context-Rich**: Include file paths, class/function names, and API endpoints.
77
- * **Layer-Aware**: Specify if it's Database, Service, State, or UI layer.
78
- * **Test-Ready**: Include at least one Positive and one Negative test case.
79
-
80
- ---
81
-
82
- ### 5. DESCRIPTION FORMAT (STRICT)
83
- The `body` of each GitHub issue MUST follow this structure EXACTLY:
84
-
85
- #### 1. Context & Analysis
86
- * **Finding / Trigger**: The audit finding or gap that triggered this issue.
87
- * **Observation & Analysis**: The results of your context reading and technical reasoning.
88
- * **Goal**: A clear statement of what needs to be achieved.
89
-
90
- #### 2. Target Files & Implementation
91
- * Group by layer or exact file path. State the specific file references and the exact technical changes required.
92
-
93
- #### 3. Acceptance & Verification
94
- * **Checklist**: Actionable criteria (e.g., `[ ] Condition 1`) that prove the gap is resolved.
95
- * **Testing**: Brief Positive/Negative scenarios to confirm success.
96
-
97
- ---
98
-
99
- ### 6. FINAL SELF-CHECK (MANDATORY)
100
- Before finishing, validate:
101
- * ❌ No code was written.
102
- * ❌ No execution was performed.
103
- * ✅ Only GitHub issue operations and memory searches exist.
16
+ # Skill: review-and-post-issue (Audit Agent)
17
+
18
+ ## 1. ANALYSIS
19
+ 1. **Sequential Discovery**: Explore docs and code sequentially. NO parallel sub-agents.
20
+ 2. **UX Audit**: If applicable, use `chrome-dev-tools` for visual, navigation, and responsiveness checks.
21
+ 3. **Compare**: Match findings against live UI to find gaps/misalignments.
22
+
23
+ ## 🚫 FORBIDDEN: NON-EXECUTION
24
+ DO NOT edit/create/delete files, run commands, or implement code.
25
+ **Allowed**: Read code, `chrome-dev-tools`, `memory-search`, GitHub `search_issues`, `issue_write`.
26
+
27
+ ## OUTPUT: GITHUB ONLY
28
+ ONLY call: `search_issues`, `issue_write` (method: 'create'), `memory-search`.
29
+ No prose. No external plans.
30
+
31
+ ## 2. PRE-ISSUE ANALYSIS
32
+ 1. **Search**: Call `memory-search` (Hybrid Search). 0.55 similarity threshold.
33
+ 2. **De-duplicate**: Call `search_issues`. Skip existing/redundant issues. Comment on related issues if distinct.
34
+
35
+ ## 3. ISSUE DESIGN & FORMAT
36
+ - **Atomic**: One change per issue.
37
+ - **Body** (STRICT FORMAT):
38
+ ### 1. Context & Analysis
39
+ - **Finding**: Gap trigger.
40
+ - **Observation**: Reasoning.
41
+ - **Goal**: Clear objective.
42
+ ### 2. Target Files & Implementation
43
+ - Path/layer specific changes.
44
+ ### 3. Acceptance & Verification
45
+ - **Checklist**: `[ ]` criteria.
46
+ - **Testing**: Scenarios.
47
+
48
+ ## 4. SELF-CHECK
49
+ - ❌ No implementation.
50
+ - ✅ ONLY GitHub/Memory tool calls.
@@ -1,27 +1,27 @@
1
1
  ---
2
2
  name: root-cause-analysis
3
- description: Apply structured 5-Why analysis to trace bugs to their origin
3
+ description: 5-Why analysis to trace bug origins.
4
4
  arguments:
5
5
  - name: tech_stack
6
- description: Target technology stack
6
+ description: Target tech stack.
7
7
  required: true
8
8
  - name: bug_description
9
- description: Observable symptom or bug behavior
9
+ description: Bug behavior.
10
10
  required: true
11
11
  - name: symptoms
12
- description: Additional errors, logs, metrics
12
+ description: Logs, errors, metrics.
13
13
  required: false
14
14
  agent: Diagnostic Lead
15
15
  ---
16
- You are a senior software engineer conducting a root cause analysis for a bug in the current repository.
16
+ Conduct root cause analysis for repository bug.
17
17
 
18
- Tech stack: {{tech_stack}}
19
- Bug description: {{bug_description}}
18
+ Stack: {{tech_stack}}
19
+ Bug: {{bug_description}}
20
20
  Symptoms: {{symptoms}}
21
21
 
22
- Apply a full **5-Why analysis**:
23
- 1. **Symptom Statement**: Technically restate the problem.
24
- 2. **5-Why Causal Chain**: Trace from symptom to the core process/design/environmental failure.
25
- 3. **Root Cause Statement**: "The root cause is [X] because [Y], which allowed [Z] to occur."
26
- 4. **Fix Recommendation**: Address the root cause, not just the symptom.
27
- 5. **Recurrence Prevention**: Suggest a monitoring or testing measure.
22
+ Output:
23
+ 1. **Symptom**: Technical problem restatement.
24
+ 2. **5-Whys**: Causal chain from symptom to core failure.
25
+ 3. **Root Cause**: "The root cause is [X] because [Y], allowing [Z]."
26
+ 4. **Recommendation**: Fix addressing root cause.
27
+ 5. **Prevention**: Monitoring/testing measure.
@@ -1,27 +1,27 @@
1
1
  ---
2
2
  name: security-triage
3
- description: Assess security vulnerability reports for exploitability and prioritize remediation
3
+ description: Assess vulnerability exploitability and prioritize fix.
4
4
  arguments:
5
5
  - name: tech_stack
6
- description: Application stack
6
+ description: App stack.
7
7
  required: true
8
8
  - name: vulnerability_report
9
- description: Report details (CVE, SAST, etc.)
9
+ description: Report details (CVE, SAST).
10
10
  required: true
11
11
  - name: codebase_context
12
- description: Component usage context
12
+ description: Usage context.
13
13
  required: false
14
14
  agent: Security Engineer
15
15
  ---
16
- Act as a senior application security engineer triaging a vulnerability for the current repository.
16
+ Triage vulnerability for repository.
17
17
 
18
18
  Stack: {{tech_stack}}
19
19
  Report: {{vulnerability_report}}
20
- Codebase context: {{codebase_context}}
20
+ Context: {{codebase_context}}
21
21
 
22
- Please provide:
23
- 1. **Vulnerability Classification**: Type, CVE, CVSS, and attack vector.
24
- 2. **Exploitability Assessment**: Contextual reachability and realistic scenarios.
25
- 3. **Impact Assessment**: Impact on Confidentiality, Integrity, and Availability.
26
- 4. **Remediation Priority & Fix**: Concrete priority (P0-P3) and fix steps.
27
- 5. **Verification**: How to test and verify the fix.
22
+ Output:
23
+ 1. **Classification**: Type, CVE, CVSS, vector.
24
+ 2. **Exploitability**: Reachability & scenarios.
25
+ 3. **Impact**: CIA impact.
26
+ 4. **Remediation**: Priority (P0-P3) & fix steps.
27
+ 5. **Verification**: Testing method.
@@ -1,33 +1,32 @@
1
1
  ---
2
2
  name: senior-code-review
3
- description: Performs a comprehensive production-readiness evaluation for the current repository context
3
+ description: Comprehensive production-readiness evaluation.
4
4
  arguments:
5
5
  - name: tech_stack
6
- description: Target tech stack (e.g., 'Node.js + Express')
6
+ description: Tech stack.
7
7
  required: true
8
8
  - name: context
9
- description: Production context (traffic, data sensitivity, SLA, conventions)
9
+ description: Production context (SLA, data, conventions).
10
10
  required: false
11
11
  agent: Principal Reviewer
12
12
  ---
13
- Act as a principal software engineer performing a production-readiness review for the current repository.
13
+ Perform production-readiness review for repository.
14
14
 
15
15
  Stack: {{tech_stack}}
16
16
  Context: {{context}}
17
17
 
18
- Please review the current code/changes against these 6 dimensions:
19
- 1. **Error Handling Completeness**
20
- 2. **Security** (Injection, Input validation, PII/Secrets)
21
- 3. **Performance** (Time/Memory complexity, DB queries)
22
- 4. **Observability** (Logging, Metrics, Tracing)
23
- 5. **Test Coverage**
24
- 6. **Documentation**
18
+ Audit Dimensions:
19
+ 1. **Errors**: Completeness & patterns.
20
+ 2. **Security**: Validation, injection, secrets.
21
+ 3. **Performance**: Complexity, DB efficiency.
22
+ 4. **Observability**: Logs, metrics, traces.
23
+ 5. **Testing**: Coverage & quality.
24
+ 6. **Docs**: Clarity & accuracy.
25
25
 
26
- For each finding, provide:
27
- - **Severity**: P0-P3
28
- - **Dimension**: One of the above
29
- - **Location**: Specific function/line
30
- - **Problem**: What is wrong and why it matters
31
- - **Fix**: Actionable recommendation
26
+ Output per Finding:
27
+ - **Severity**: P0-P3.
28
+ - **Problem**: What & why.
29
+ - **Location**: Path/function.
30
+ - **Fix**: Actionable step.
32
31
 
33
- Produce a **Production Readiness Verdict**: READY | READY WITH MINOR FIXES | NOT READY
32
+ Verdict: READY | READY WITH MINOR FIXES | NOT READY
@@ -1,18 +1,18 @@
1
1
  ---
2
2
  name: session-planner
3
- description: Break down a complex objective into atomic tasks for the current repository
3
+ description: Break objective into atomic tasks.
4
4
  arguments:
5
5
  - name: objective
6
- description: The high-level goal for this session
6
+ description: High-level session goal.
7
7
  required: true
8
8
  agent: Strategy Lead
9
9
  ---
10
- Our objective for today in the current repository is: '{{objective}}'.
10
+ Plan execution for: '{{objective}}'.
11
11
 
12
- Please act as a project manager and plan the execution:
13
- 1. **Analyze**: Break this objective down into 3-7 small, atomic, and verifiable tasks.
14
- 2. **Execute**: Use 'task-manage' with action='create' to add these to the local tracker for the current repo.
15
- 3. **Hierarchy**: Use 'parent_id' or 'depends_on' if there is a clear order of operations.
16
- 4. **Phases**: Group tasks into phases like 'research', 'implementation', and 'validation'.
12
+ Steps:
13
+ 1. **Analyze**: Break into 3-7 atomic, verifiable tasks.
14
+ 2. **Phase**: Group into 'research', 'implementation', 'validation'.
15
+ 3. **Hierarchy**: Use `parent_id` / `depends_on` for sequencing.
16
+ 4. **Create**: Use `task-create` in current repo.
17
17
 
18
- Display the created plan to the user when done.
18
+ Display final plan to user.
@@ -1,28 +1,23 @@
1
1
  ---
2
2
  name: task-management-guidelines
3
- description: Best practices for task tracking and progress management
3
+ description: Task tracking & progress management standards.
4
4
  arguments: []
5
5
  agent: Project Manager
6
6
  ---
7
- Guidelines for Task Management:
7
+ # Task Management Standards
8
8
 
9
- 1. task-list (PRIMARY NAVIGATION & SEARCH):
10
- - MANDATORY: Always call `local-memory-mcp` MCP tools `task-list` (with no status specified to get active tasks) at the very start of a new session.
11
- - Returns a compact table: columns = [id, task_code, title, status, priority, comments_count]. Rows are pointers NOT full tasks.
12
- - Default behavior: returns `in_progress` and `pending` tasks if `status` is omitted.
13
- - Filter by status via the `status` param (comma-separated, e.g., `"in_progress,pending"`).
14
- - Search by keyword matching task_code, title, or description via the `query` param.
15
- - After selecting a task from the table, fetch its full context via `task-detail` tool.
16
- - Coordinate: If a task is already 'in_progress', do not attempt to work on it unless specifically asked to collaborate.
17
- - DO NOT work on multiple tasks simultaneously.
9
+ ## 1. NAVIGATION (`task-list`)
10
+ - **Sync**: Call `task-list` at every session start (default: `in_progress,pending`).
11
+ - **Format**: Compact table (IDs only). Use `query` for keyword search.
12
+ - **Retrieve**: Fetch full context via `task-detail` AFTER selecting a task.
13
+ - **Coordination**: NEVER work on `in_progress` tasks assigned to others. Focus on ONE task at a time.
18
14
 
19
- 3. Detail Tools:
20
- - Use `local-memory-mcp` MCP tools `task-detail` to fetch full task details (including comments and history) by ID or task_code.
21
- - Use `local-memory-mcp` MCP tools `memory-detail` to fetch full memory content by ID.
15
+ ## 2. DETAIL TOOLS
16
+ - **Tasks**: Call `task-detail` for history/comments (ID or `task_code`).
17
+ - **Memory**: Call `memory-detail` for full entry content.
22
18
 
23
- 4. Workflow Integration:
24
- - Plan first: Create tasks for the entire lifecycle (Research → Strategy → Execution → Validation).
25
- - Atomic Updates: Update the task status to 'in_progress' EXACTLY ONCE when you begin working on a task.
26
- - Workflow Enforcement (MANDATORY): You cannot move a task from 'pending' or 'backlog' directly to 'completed'. You MUST transition to 'in_progress' first for status transition safety.
27
- - Finalize: Only mark a task as 'completed' after successful validation (tests passed).
28
- - Automatic Archiving: Marking a task as 'completed' automatically triggers `archiveTaskToMemory`, creating a 'task_archive' memory entry with the full history and token usage report.
19
+ ## 3. WORKFLOW
20
+ - **Planning**: Create tasks for full lifecycle (Research → Strategy → Execution → Validation).
21
+ - **Transition Safety**: MUST move from `backlog/pending` `in_progress` `completed`. Skipping `in_progress` is forbidden.
22
+ - **Validation**: Only `complete` after passing tests.
23
+ - **Archiving**: Completion triggers auto-archive to `task_archive` memory with token reporting.