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.
@@ -1654,6 +1654,7 @@ var RoadmapService = class extends EventEmitter2 {
1654
1654
  phase: f.phase,
1655
1655
  rationale: f.rationale || "",
1656
1656
  steps: f.steps,
1657
+ acceptanceCriteria: f.acceptanceCriteria,
1657
1658
  addedToKanban: false
1658
1659
  })),
1659
1660
  competitors,
@@ -1667,68 +1668,83 @@ var RoadmapService = class extends EventEmitter2 {
1667
1668
  }
1668
1669
  }
1669
1670
  /**
1670
- * Build the competitor research prompt
1671
+ * Build the competitor research prompt (inspired by Auto-Claude)
1671
1672
  */
1672
1673
  buildCompetitorResearchPrompt(projectInfo) {
1673
- return `You are a product research analyst. Your task is to research competitors and return ONLY JSON output.
1674
+ 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.
1674
1675
 
1675
- IMPORTANT: Do not ask any questions. Do not request clarification. Just analyze and return the JSON.
1676
+ ## Your Role
1677
+ Research competitors, analyze user feedback, and document pain points to inform feature prioritization.
1676
1678
 
1677
- ## Project Information
1679
+ ## Project Context
1678
1680
  - Name: ${projectInfo.name}
1679
1681
  - Description: ${projectInfo.description}
1680
1682
  - Tech Stack: ${projectInfo.stack.join(", ") || "Unknown"}
1681
1683
 
1682
- ## Your Task
1683
- 1. Based on the project description, identify what type of product/service this is
1684
- 2. Find 3-5 competitors or similar projects in this space
1685
- 3. Analyze their strengths and weaknesses
1686
- 4. Identify differentiating features
1687
-
1688
- ## Required Output Format
1689
- Return ONLY a JSON array (no markdown code blocks, no explanations):
1684
+ ## Research Process
1685
+ 1. DISCOVERY: Identify 3-5 main competitors (direct competitors, market leaders, alternative solutions)
1686
+ 2. FEEDBACK COLLECTION: Gather real user complaints from:
1687
+ - App store reviews
1688
+ - Reddit discussions
1689
+ - GitHub issues
1690
+ - Stack Overflow questions
1691
+ - Twitter/social media
1692
+ 3. PAIN POINT ANALYSIS: Extract patterns - missing features, UX problems, performance issues, pricing concerns
1693
+
1694
+ ## Critical Requirements
1695
+ - Document sources for every pain point (no fabricated data)
1696
+ - Focus on authentic user feedback, not just feature lists
1697
+ - Include severity ratings where possible
1698
+ - Identify market gaps and opportunities
1699
+
1700
+ ## Required Output
1701
+ Return ONLY valid JSON (no markdown, no explanations). Begin with [ and end with ]:
1690
1702
 
1691
1703
  [
1692
1704
  {
1693
1705
  "name": "Competitor Name",
1694
1706
  "url": "https://example.com",
1695
1707
  "strengths": ["strength 1", "strength 2"],
1696
- "weaknesses": ["weakness 1", "weakness 2"],
1697
- "differentiators": ["feature 1", "feature 2"]
1708
+ "weaknesses": ["weakness 1 - based on user feedback from [source]", "weakness 2"],
1709
+ "differentiators": ["unique feature 1", "unique feature 2"],
1710
+ "painPoints": ["user complaint 1", "user complaint 2"],
1711
+ "marketGaps": ["opportunity 1"]
1698
1712
  }
1699
1713
  ]
1700
1714
 
1701
- Begin your response with [ and end with ]. No other text.`;
1715
+ Begin your response with [ - no other text.`;
1702
1716
  }
1703
1717
  /**
1704
- * Build the roadmap generation prompt
1718
+ * Build the roadmap generation prompt (inspired by Auto-Claude)
1705
1719
  */
1706
1720
  buildRoadmapPrompt(projectInfo, competitors, request) {
1707
- let prompt = `You are a product strategist creating a feature roadmap for a software project.
1708
-
1709
- ## Project Information
1710
- Name: ${projectInfo.name}
1711
- Description: ${projectInfo.description}
1712
- Tech Stack: ${projectInfo.stack.join(", ") || "Unknown"}
1713
- ${projectInfo.existingFeatures.length > 0 ? `
1714
- Existing Features/Tasks:
1715
- ${projectInfo.existingFeatures.map((f) => `- ${f}`).join("\n")}` : ""}
1721
+ 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.
1722
+
1723
+ ## Your Role
1724
+ Convert project context into a strategic, prioritized feature roadmap with phased organization.
1725
+
1726
+ ## Project Context
1727
+ - Name: ${projectInfo.name}
1728
+ - Description: ${projectInfo.description}
1729
+ - Tech Stack: ${projectInfo.stack.join(", ") || "Unknown"}
1730
+ ${projectInfo.existingFeatures.length > 0 ? `- Existing Features: ${projectInfo.existingFeatures.join(", ")}` : ""}
1716
1731
  `;
1717
1732
  if (competitors && competitors.length > 0) {
1718
1733
  prompt += `
1719
- ## Competitor Analysis
1734
+ ## Competitor Intelligence
1735
+ Use this data to identify opportunities and prioritize features that address market gaps.
1720
1736
  ${competitors.map((c) => `
1721
- ### ${c.name}
1737
+ ### ${c.name}${c.url ? ` (${c.url})` : ""}
1722
1738
  - Strengths: ${c.strengths.join(", ")}
1723
1739
  - Weaknesses: ${c.weaknesses.join(", ")}
1724
- - Key Features: ${c.differentiators.join(", ")}
1725
- `).join("\n")}
1740
+ - Differentiators: ${c.differentiators.join(", ")}
1741
+ `).join("")}
1726
1742
  `;
1727
1743
  }
1728
1744
  if (request.focusAreas && request.focusAreas.length > 0) {
1729
1745
  prompt += `
1730
1746
  ## Focus Areas
1731
- The user wants to focus on: ${request.focusAreas.join(", ")}
1747
+ Prioritize features related to: ${request.focusAreas.join(", ")}
1732
1748
  `;
1733
1749
  }
1734
1750
  if (request.customPrompt) {
@@ -1738,57 +1754,75 @@ ${request.customPrompt}
1738
1754
  `;
1739
1755
  }
1740
1756
  prompt += `
1741
- ## Instructions
1742
- IMPORTANT: Do not ask any questions. Do not request clarification. Generate the roadmap based on the information provided.
1743
-
1744
- Create a comprehensive product roadmap with features organized into phases.
1745
-
1746
- Use the MoSCoW prioritization framework:
1747
- - must: Critical features that must be implemented
1748
- - should: Important features that should be implemented
1749
- - could: Nice-to-have features that could be implemented
1750
- - wont: Features that won't be implemented in the near term
1751
-
1752
- For each feature, estimate:
1753
- - effort: low, medium, or high
1754
- - impact: low, medium, or high
1755
-
1756
- Categories should be one of: functional, ui, bug, enhancement, testing, refactor
1757
-
1758
- ## Required Output Format
1759
- Return ONLY valid JSON (no markdown code blocks, no explanations). Begin with { and end with }:
1757
+ ## Workflow
1758
+ 1. Analyze project goals and user needs
1759
+ 2. Apply MoSCoW prioritization (must/should/could/wont)
1760
+ 3. Assess complexity and impact for each feature
1761
+ 4. Organize into logical phases with dependencies
1762
+ 5. Generate structured roadmap output
1763
+
1764
+ ## Standard Phases
1765
+ - Foundation: Core infrastructure and essential features
1766
+ - Enhancement: Improved UX and additional functionality
1767
+ - Scale: Performance, integrations, advanced features
1768
+ - Future: Long-term vision and nice-to-haves
1769
+
1770
+ ## MoSCoW Framework
1771
+ - must: Critical for launch, blocks everything else
1772
+ - should: Important but not blocking
1773
+ - could: Nice to have, implement if time permits
1774
+ - wont: Out of scope for current planning horizon
1775
+
1776
+ ## Priority Matrix
1777
+ - High Impact + Low Effort = Do First (must)
1778
+ - High Impact + High Effort = Plan Carefully (should)
1779
+ - Low Impact + Low Effort = Quick Wins (could)
1780
+ - Low Impact + High Effort = Deprioritize (wont)
1781
+
1782
+ ## Required Output Schema
1783
+ Return ONLY valid JSON. Begin with { and end with }:
1760
1784
 
1761
1785
  {
1762
- "projectDescription": "Brief description of the project",
1763
- "targetAudience": "Who this project is for",
1786
+ "projectDescription": "Inferred project purpose and value proposition",
1787
+ "targetAudience": "Primary user persona",
1764
1788
  "phases": [
1765
1789
  {
1766
- "name": "Phase 1: MVP",
1767
- "description": "Core features for minimum viable product"
1790
+ "name": "Foundation",
1791
+ "description": "Core features required for initial launch"
1768
1792
  },
1769
1793
  {
1770
- "name": "Phase 2: Enhancement",
1794
+ "name": "Enhancement",
1771
1795
  "description": "Features to improve user experience"
1796
+ },
1797
+ {
1798
+ "name": "Scale",
1799
+ "description": "Growth and advanced capabilities"
1772
1800
  }
1773
1801
  ],
1774
1802
  "features": [
1775
1803
  {
1776
1804
  "title": "Feature title",
1777
- "description": "What this feature does",
1805
+ "description": "What this feature does and why users need it",
1778
1806
  "priority": "must",
1779
1807
  "category": "functional",
1780
1808
  "effort": "medium",
1781
1809
  "impact": "high",
1782
- "phase": "Phase 1: MVP",
1783
- "rationale": "Why this feature is important",
1784
- "steps": ["Step 1", "Step 2"]
1810
+ "phase": "Foundation",
1811
+ "rationale": "Why this feature matters - reference competitor gaps if applicable",
1812
+ "steps": ["Implementation step 1", "Implementation step 2"],
1813
+ "acceptanceCriteria": ["User can do X", "System handles Y"]
1785
1814
  }
1786
1815
  ]
1787
1816
  }
1788
1817
 
1789
- Generate 10-20 strategic features across 3-4 phases. Be specific and actionable.
1790
- Don't duplicate features that already exist in the project.
1791
- Begin your response with { - no other text before or after the JSON.`;
1818
+ ## Critical Requirements
1819
+ - Generate 10-20 features across 3-4 phases
1820
+ - Each feature must have clear acceptance criteria
1821
+ - Don't duplicate existing project features
1822
+ - Reference competitor insights in rationale where relevant
1823
+ - Be specific and actionable, not generic
1824
+
1825
+ Begin your response with { - no other text.`;
1792
1826
  return prompt;
1793
1827
  }
1794
1828
  /**