claude-kanban 0.6.3 → 0.6.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/bin/cli.js CHANGED
@@ -1982,6 +1982,7 @@ var RoadmapService = class extends EventEmitter2 {
1982
1982
  phase: f.phase,
1983
1983
  rationale: f.rationale || "",
1984
1984
  steps: f.steps,
1985
+ acceptanceCriteria: f.acceptanceCriteria,
1985
1986
  addedToKanban: false
1986
1987
  })),
1987
1988
  competitors,
@@ -1995,68 +1996,83 @@ var RoadmapService = class extends EventEmitter2 {
1995
1996
  }
1996
1997
  }
1997
1998
  /**
1998
- * Build the competitor research prompt
1999
+ * Build the competitor research prompt (inspired by Auto-Claude)
1999
2000
  */
2000
2001
  buildCompetitorResearchPrompt(projectInfo) {
2001
- return `You are a product research analyst. Your task is to research competitors and return ONLY JSON output.
2002
+ return `You are a Competitor Analysis Agent. This is a NON-INTERACTIVE autonomous task - you CANNOT ask questions or request clarification. Make educated inferences from available information.
2002
2003
 
2003
- IMPORTANT: Do not ask any questions. Do not request clarification. Just analyze and return the JSON.
2004
+ ## Your Role
2005
+ Research competitors, analyze user feedback, and document pain points to inform feature prioritization.
2004
2006
 
2005
- ## Project Information
2007
+ ## Project Context
2006
2008
  - Name: ${projectInfo.name}
2007
2009
  - Description: ${projectInfo.description}
2008
2010
  - Tech Stack: ${projectInfo.stack.join(", ") || "Unknown"}
2009
2011
 
2010
- ## Your Task
2011
- 1. Based on the project description, identify what type of product/service this is
2012
- 2. Find 3-5 competitors or similar projects in this space
2013
- 3. Analyze their strengths and weaknesses
2014
- 4. Identify differentiating features
2015
-
2016
- ## Required Output Format
2017
- Return ONLY a JSON array (no markdown code blocks, no explanations):
2012
+ ## Research Process
2013
+ 1. DISCOVERY: Identify 3-5 main competitors (direct competitors, market leaders, alternative solutions)
2014
+ 2. FEEDBACK COLLECTION: Gather real user complaints from:
2015
+ - App store reviews
2016
+ - Reddit discussions
2017
+ - GitHub issues
2018
+ - Stack Overflow questions
2019
+ - Twitter/social media
2020
+ 3. PAIN POINT ANALYSIS: Extract patterns - missing features, UX problems, performance issues, pricing concerns
2021
+
2022
+ ## Critical Requirements
2023
+ - Document sources for every pain point (no fabricated data)
2024
+ - Focus on authentic user feedback, not just feature lists
2025
+ - Include severity ratings where possible
2026
+ - Identify market gaps and opportunities
2027
+
2028
+ ## Required Output
2029
+ Return ONLY valid JSON (no markdown, no explanations). Begin with [ and end with ]:
2018
2030
 
2019
2031
  [
2020
2032
  {
2021
2033
  "name": "Competitor Name",
2022
2034
  "url": "https://example.com",
2023
2035
  "strengths": ["strength 1", "strength 2"],
2024
- "weaknesses": ["weakness 1", "weakness 2"],
2025
- "differentiators": ["feature 1", "feature 2"]
2036
+ "weaknesses": ["weakness 1 - based on user feedback from [source]", "weakness 2"],
2037
+ "differentiators": ["unique feature 1", "unique feature 2"],
2038
+ "painPoints": ["user complaint 1", "user complaint 2"],
2039
+ "marketGaps": ["opportunity 1"]
2026
2040
  }
2027
2041
  ]
2028
2042
 
2029
- Begin your response with [ and end with ]. No other text.`;
2043
+ Begin your response with [ - no other text.`;
2030
2044
  }
2031
2045
  /**
2032
- * Build the roadmap generation prompt
2046
+ * Build the roadmap generation prompt (inspired by Auto-Claude)
2033
2047
  */
2034
2048
  buildRoadmapPrompt(projectInfo, competitors, request) {
2035
- let prompt = `You are a product strategist creating a feature roadmap for a software project.
2036
-
2037
- ## Project Information
2038
- Name: ${projectInfo.name}
2039
- Description: ${projectInfo.description}
2040
- Tech Stack: ${projectInfo.stack.join(", ") || "Unknown"}
2041
- ${projectInfo.existingFeatures.length > 0 ? `
2042
- Existing Features/Tasks:
2043
- ${projectInfo.existingFeatures.map((f) => `- ${f}`).join("\n")}` : ""}
2049
+ let prompt = `You are a Roadmap Feature Generator Agent. This is a NON-INTERACTIVE autonomous task - you CANNOT ask questions or request clarification. Make educated inferences from available information.
2050
+
2051
+ ## Your Role
2052
+ Convert project context into a strategic, prioritized feature roadmap with phased organization.
2053
+
2054
+ ## Project Context
2055
+ - Name: ${projectInfo.name}
2056
+ - Description: ${projectInfo.description}
2057
+ - Tech Stack: ${projectInfo.stack.join(", ") || "Unknown"}
2058
+ ${projectInfo.existingFeatures.length > 0 ? `- Existing Features: ${projectInfo.existingFeatures.join(", ")}` : ""}
2044
2059
  `;
2045
2060
  if (competitors && competitors.length > 0) {
2046
2061
  prompt += `
2047
- ## Competitor Analysis
2062
+ ## Competitor Intelligence
2063
+ Use this data to identify opportunities and prioritize features that address market gaps.
2048
2064
  ${competitors.map((c) => `
2049
- ### ${c.name}
2065
+ ### ${c.name}${c.url ? ` (${c.url})` : ""}
2050
2066
  - Strengths: ${c.strengths.join(", ")}
2051
2067
  - Weaknesses: ${c.weaknesses.join(", ")}
2052
- - Key Features: ${c.differentiators.join(", ")}
2053
- `).join("\n")}
2068
+ - Differentiators: ${c.differentiators.join(", ")}
2069
+ `).join("")}
2054
2070
  `;
2055
2071
  }
2056
2072
  if (request.focusAreas && request.focusAreas.length > 0) {
2057
2073
  prompt += `
2058
2074
  ## Focus Areas
2059
- The user wants to focus on: ${request.focusAreas.join(", ")}
2075
+ Prioritize features related to: ${request.focusAreas.join(", ")}
2060
2076
  `;
2061
2077
  }
2062
2078
  if (request.customPrompt) {
@@ -2066,57 +2082,75 @@ ${request.customPrompt}
2066
2082
  `;
2067
2083
  }
2068
2084
  prompt += `
2069
- ## Instructions
2070
- IMPORTANT: Do not ask any questions. Do not request clarification. Generate the roadmap based on the information provided.
2071
-
2072
- Create a comprehensive product roadmap with features organized into phases.
2073
-
2074
- Use the MoSCoW prioritization framework:
2075
- - must: Critical features that must be implemented
2076
- - should: Important features that should be implemented
2077
- - could: Nice-to-have features that could be implemented
2078
- - wont: Features that won't be implemented in the near term
2079
-
2080
- For each feature, estimate:
2081
- - effort: low, medium, or high
2082
- - impact: low, medium, or high
2083
-
2084
- Categories should be one of: functional, ui, bug, enhancement, testing, refactor
2085
-
2086
- ## Required Output Format
2087
- Return ONLY valid JSON (no markdown code blocks, no explanations). Begin with { and end with }:
2085
+ ## Workflow
2086
+ 1. Analyze project goals and user needs
2087
+ 2. Apply MoSCoW prioritization (must/should/could/wont)
2088
+ 3. Assess complexity and impact for each feature
2089
+ 4. Organize into logical phases with dependencies
2090
+ 5. Generate structured roadmap output
2091
+
2092
+ ## Standard Phases
2093
+ - Foundation: Core infrastructure and essential features
2094
+ - Enhancement: Improved UX and additional functionality
2095
+ - Scale: Performance, integrations, advanced features
2096
+ - Future: Long-term vision and nice-to-haves
2097
+
2098
+ ## MoSCoW Framework
2099
+ - must: Critical for launch, blocks everything else
2100
+ - should: Important but not blocking
2101
+ - could: Nice to have, implement if time permits
2102
+ - wont: Out of scope for current planning horizon
2103
+
2104
+ ## Priority Matrix
2105
+ - High Impact + Low Effort = Do First (must)
2106
+ - High Impact + High Effort = Plan Carefully (should)
2107
+ - Low Impact + Low Effort = Quick Wins (could)
2108
+ - Low Impact + High Effort = Deprioritize (wont)
2109
+
2110
+ ## Required Output Schema
2111
+ Return ONLY valid JSON. Begin with { and end with }:
2088
2112
 
2089
2113
  {
2090
- "projectDescription": "Brief description of the project",
2091
- "targetAudience": "Who this project is for",
2114
+ "projectDescription": "Inferred project purpose and value proposition",
2115
+ "targetAudience": "Primary user persona",
2092
2116
  "phases": [
2093
2117
  {
2094
- "name": "Phase 1: MVP",
2095
- "description": "Core features for minimum viable product"
2118
+ "name": "Foundation",
2119
+ "description": "Core features required for initial launch"
2096
2120
  },
2097
2121
  {
2098
- "name": "Phase 2: Enhancement",
2122
+ "name": "Enhancement",
2099
2123
  "description": "Features to improve user experience"
2124
+ },
2125
+ {
2126
+ "name": "Scale",
2127
+ "description": "Growth and advanced capabilities"
2100
2128
  }
2101
2129
  ],
2102
2130
  "features": [
2103
2131
  {
2104
2132
  "title": "Feature title",
2105
- "description": "What this feature does",
2133
+ "description": "What this feature does and why users need it",
2106
2134
  "priority": "must",
2107
2135
  "category": "functional",
2108
2136
  "effort": "medium",
2109
2137
  "impact": "high",
2110
- "phase": "Phase 1: MVP",
2111
- "rationale": "Why this feature is important",
2112
- "steps": ["Step 1", "Step 2"]
2138
+ "phase": "Foundation",
2139
+ "rationale": "Why this feature matters - reference competitor gaps if applicable",
2140
+ "steps": ["Implementation step 1", "Implementation step 2"],
2141
+ "acceptanceCriteria": ["User can do X", "System handles Y"]
2113
2142
  }
2114
2143
  ]
2115
2144
  }
2116
2145
 
2117
- Generate 10-20 strategic features across 3-4 phases. Be specific and actionable.
2118
- Don't duplicate features that already exist in the project.
2119
- Begin your response with { - no other text before or after the JSON.`;
2146
+ ## Critical Requirements
2147
+ - Generate 10-20 features across 3-4 phases
2148
+ - Each feature must have clear acceptance criteria
2149
+ - Don't duplicate existing project features
2150
+ - Reference competitor insights in rationale where relevant
2151
+ - Be specific and actionable, not generic
2152
+
2153
+ Begin your response with { - no other text.`;
2120
2154
  return prompt;
2121
2155
  }
2122
2156
  /**