Commit Graph

147 Commits

Author SHA1 Message Date
5687910af0 Remove unused labels and milestone parameters from tea_issue_create 2026-05-14 23:02:47 +02:00
9d06a72139 Add tea_issue_create tool with Bun.$ and description support 2026-05-14 22:57:43 +02:00
8401508e9a Fix tea_issue_create: use Bun.$ and include description 2026-05-14 22:53:53 +02:00
d1ef076cd4 Add tea_issue_create tool for creating GitHub issues 2026-05-14 22:52:08 +02:00
d5fbeb75ff Add tea_issues tool for listing GitHub issues 2026-05-14 22:18:07 +02:00
7310a1b079 fixed tea pr list 2026-05-13 20:31:44 +02:00
da4b96ea87 fix pr list 2026-05-13 17:31:57 +02:00
3f7ed13023 updated gitignore 2026-05-12 13:46:58 +02:00
fdcb037838 Add git-worktree tool for managing worktrees 2026-05-12 13:15:47 +02:00
879a415281 feat: add dedicated issue close/reopen and PR review tools 2026-05-12 13:11:12 +02:00
764aee4a18 fxied tea issue deps syntax problems 2026-05-11 23:43:33 +02:00
515595495e Add opencode.json config template with changeme API keys 2026-05-11 23:09:09 +02:00
dc65e59611 fixed the return values to strings instead of JSON.parse 2026-05-03 18:30:54 +02:00
3f49ef4589 feat: add tea-context.ts tool for context helpers (whoami) 2026-05-03 16:35:46 +02:00
622f791149 feat: add tea-notification.ts tool for notifications (notificationList) 2026-05-03 16:35:39 +02:00
27f33ca7c6 feat: add tea-label.ts tool for label management (labelList) 2026-05-03 16:35:31 +02:00
1a900037ff feat: add tea-milestone.ts tool for milestone management (milestoneList, milestoneCreate) 2026-05-03 16:35:24 +02:00
960457275e feat: add tea-issue-deps.ts tool for issue dependencies (issueDepsList, issueDepsAdd, issueDepsRemove) 2026-05-03 16:35:10 +02:00
1596dd30b2 feat: add tea-issue.ts tool for issue management (issueList, issueCreate, issueEdit, issueDetails) 2026-05-03 16:34:47 +02:00
0c99f0d7a7 feat: add tea-pr.ts tool for PR management (prList, prCreate, prCheckout, prMerge, prDetails) 2026-05-03 16:34:18 +02:00
cc72ad68ed Migrate from Claude Code to OpenCode structure
- Move legacy content to legacy/ folder (old, old2, docs, learnings, scripts)
- Create new .opencode/ structure with skills/, tools/, agents/ folders
- Update Makefile to symlink to ~/.config/opencode/ instead of ~/.claude/
- Update Makefile to manage skills, tools, and agents (remove settings.json)
- Simplify install/uninstall (no backup logic)
- Add README.md documenting the new structure
- Keep settings.json as historical reference
2026-05-02 13:41:59 +02:00
26e5f6a597 refactor: make LLM service management configurable
- Add LLM_SERVICES variable for easy service management
- Add restart-llm-% pattern rule for individual service control
- Refactor restart-llm to loop through services
2026-05-02 11:11:04 +02:00
00cdb91f09 chore: move documentation files to old2 folder
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-15 17:29:53 +01:00
fa2165ac01 chore: move agents and skills to old2 folder
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-15 17:28:06 +01:00
6a6c3739e6 chore(settings): add padding config to statusLine
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-15 17:25:55 +01:00
7058eb2e50 feat(dashboard): add dashboard skill for milestone/issue overview
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-13 23:45:55 +01:00
f99f8f072e chore: update model names and gitea allowed-tools
- Use full model names (claude-haiku-4-5, etc.) in create-capability
- Add allowed-tools to gitea skill for tea/jq commands
- Set default model to opus in settings

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-13 23:45:51 +01:00
8f4fb16a09 fix(worktrees): fix tea issues title parsing for branch names
- tea issues output has title on line 2, not line 1
- Update sed command to extract from correct line
- Fixes branches being named "issue-N-" or "issue-N-untitled"

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-13 23:45:37 +01:00
3983a6ba24 feat(code-reviewer): auto-merge approved PRs with rebase
- Add step 5 to merge approved PRs using tea pulls merge --style rebase
- Clean up branch after merge with tea pulls clean
- Update role description and outputs to reflect merge responsibility

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-13 23:45:32 +01:00
f81b2ec1b9 fix(code-reviewer): enforce concise review comments, no thanking/fluff
Updated review comment format to be direct and actionable:

**Approved format:**
```
## Code Review: Approved ✓

Implementation looks solid. No blocking issues found.
```

**Needs-work format:**
```
## Code Review: Changes Requested

**Issues:**
1. `auth.ts:42` - Missing null check for user.email
2. `auth.ts:58` - Login error not handled
3. Missing tests for authentication flow

**Suggestions:**
- Consider adding rate limiting
```

Changes:
- Removed all thanking/praising language ("Great work!", "Thanks for the PR!")
- Removed pleasantries ("Please address", "I'll re-review")
- Enforced file:line format for all issues
- Approved: 1-2 lines max (down from verbose multi-section format)
- Needs-work: Direct issue list with locations
- Added bad/good examples showing verbosity difference
- Updated Guidelines: removed "Acknowledge good work", added "Keep comments concise"
- Updated description, Your Role, and You produce sections
- Emphasized in Tips section

Before: Verbose, friendly reviews with sections
After: Concise, actionable reviews with file:line locations

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-01-13 01:38:35 +01:00
29dd1236bd fix(pr-fixer): enforce concise PR comments (3-4 bullets max)
Added explicit instructions to keep PR comments extremely brief:
- Maximum 3-4 bullet points
- One line per bullet
- Just state what was fixed
- No verbose explanations
- No code snippets
- No apologizing or thanking

Before: Long, verbose comments explaining every change in detail
After: "Fixed review feedback ✓
- Fixed error handling
- Added null checks
- Updated tests"

Updated:
- Added step 6: Post Concise Comment
- Added format examples (good vs bad)
- Added "Keep comments concise" to Guidelines
- Updated description and Your Role section
- Emphasized in Tips section

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-01-13 01:37:07 +01:00
00488e8ddf feat(spawn-pr-fixers): add parallel PR fixing skill using tea/gitea
Creates new user-invocable skill for fixing PRs based on review feedback:
- Takes multiple PR numbers as arguments
- Creates isolated fix worktrees for each PR
- Spawns pr-fixer agents in parallel
- Event-driven result handling
- Addresses review comments autonomously
- Commits and pushes fixes to Gitea using tea
- Shows detailed summary of all fixes

Uses tea and gitea skill (not gh). Pattern matches spawn-issues and
spawn-pr-reviews: Haiku orchestrator with allowed-tools.

Completes the spawn trilogy:
- spawn-issues: full workflow (implement → review → fix)
- spawn-pr-reviews: review only (read-only)
- spawn-pr-fixers: fix only (based on feedback)

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-01-13 00:49:46 +01:00
f056a24655 feat(spawn-pr-reviews): add parallel PR review skill using tea/gitea
Creates new user-invocable skill for reviewing PRs:
- Takes multiple PR numbers as arguments
- Creates isolated review worktrees for each PR
- Spawns code-reviewer agents in parallel
- Event-driven result handling
- Posts review comments to Gitea using tea
- Read-only operation (no auto-fixes)

Uses tea and gitea skill (not gh), avoiding conflicts with base
system instructions.

Pattern matches spawn-issues: Haiku orchestrator with allowed-tools
for bash execution.

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-01-13 00:40:42 +01:00
c284d36df8 docs(CLAUDE.md): update Available Skills to reflect current state
Removed outdated skills that haven't been migrated from old/ directory:
- /manifesto, /vision, /work-issue, /dashboard, /review-pr
- /create-issue, /retro, /plan-issues, /groom

Added current user-invocable skills:
- /vision-to-backlog
- /create-milestones
- /spawn-issues
- /create-capability
- /capability-writing

This prevents confusion when users try non-existent skills, which could
cause the system to fall back to base instructions (using gh instead of tea).

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-01-13 00:38:23 +01:00
384e557d89 fix(spawn-issues): add missing allowed-tools field
The spawn-issues skill was missing the allowed-tools field that was present
in the old version. Without this field, the skill cannot execute bash commands,
causing permission errors when trying to create worktrees or call scripts.

Added: allowed-tools: Bash, Task, Read, TaskOutput

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-01-13 00:18:43 +01:00
5ad27ae040 fix(worktrees): use full paths for bundled scripts
Users were confused by ./scripts/ references, thinking they needed to copy
scripts into their project. Scripts are in ~/.claude/skills/worktrees/scripts/
and should be referenced with full paths.

Changes:
- Updated spawn-issues to use full script paths
- Updated worktrees skill with full paths in all examples
- Fixed gitea model name to claude-haiku-4-5
- Added tools list to issue-worker agent

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-01-13 00:06:28 +01:00
dd97378bb9 fix(create-milestones): clarify loop structure for assigning issues
Restructure steps 7-8 to be clearer and more efficient:
- Merged "Assign Issues" and "Apply Labels" into single step
- Explicit nested loop structure: milestone → issues in that milestone
- Process one milestone at a time
- Combine milestone assignment + labels in single tea command
- Added clear examples
- Prevents confusion about looping and when to move on

Before: Separate loops for milestone assignment and label application
After: Single pass through milestones, process all issues per milestone

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-01-12 19:27:08 +01:00
fd713c8697 fix(vision-to-backlog): organize artifacts in .product-strategy/ directory
Create .product-strategy/ directory to organize all strategy artifacts
instead of cluttering root directory.

Changes:
- Step 2: Create .product-strategy/ directory early in workflow
- Each agent spawn: Specify output path (e.g., .product-strategy/problem-map.md)
- Agents reference prior artifacts by path
- Final report lists all artifact locations

Artifacts saved:
- .product-strategy/problem-map.md
- .product-strategy/context-map.md
- .product-strategy/domain-*.md (one per context)
- .product-strategy/capabilities.md
- .product-strategy/backlog.md

Keeps root directory clean and strategy artifacts organized.

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-01-12 18:53:47 +01:00
eead1e15dd fix(vision-to-backlog): automatically create issues after approval
Clarify that after user approves issues at decision gate, workflow should
automatically proceed to create all issues in Gitea without waiting for
another prompt.

Changes:
- Step 13: Clear yes/no question "Ready to create these issues in Gitea?"
- Step 14: Marked as "automatic after approval"
- Guidelines: Added "Automatic execution after approval" section with example

Prevents workflow from stopping and requiring user to explicitly request
issue creation after already approving the backlog.

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-01-12 18:51:09 +01:00
0c242ebf97 feat: add value-based milestone planning capability
Add capability for organizing backlog into shippable business capabilities
using value-based milestones (not time-based phases).

Components:
- milestone-planning skill: Value-based framework, vertical slice test, one active milestone
- create-milestones skill: Orchestrator (Haiku) for analyzing and grouping issues
- milestone-planner agent: Groups issues into capabilities autonomously (Haiku)

Core Principles:
- Milestone = shippable business capability (not phase)
- One active milestone at a time (preserves focus)
- 5-25 issues per milestone (right-sized)
- Value labels: value/high, value/medium, value/low
- Risk labels: risk/high (optional)
- Vertical slice test (can be demoed independently)
- No dates (capability-based, not time-based)

Workflow: /create-milestones reads existing Gitea issues → analyzes capability
boundaries → groups into milestones → creates in Gitea → assigns issues →
applies labels → user manually activates ONE milestone

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-01-12 17:11:59 +01:00
41105ac114 fix: correct model names to claude-haiku-4-5 and claude-sonnet-4-5
Update model field in all skills and agents to use full model names:
- haiku → claude-haiku-4-5
- sonnet → claude-sonnet-4-5

Updated files:
- vision-to-backlog skill
- spawn-issues skill
- problem-space-analyst agent
- context-mapper agent
- domain-modeler agent
- capability-extractor agent
- backlog-builder agent
- issue-worker agent
- code-reviewer agent
- pr-fixer agent

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-01-12 16:47:39 +01:00
dc8fade8f9 feat: add composable product strategy capability (vision-to-backlog)
Replace monolithic ddd-analyst with composable agent architecture following
opinionated product strategy chain from manifesto to executable backlog.

New Components:
- product-strategy skill: 7-step framework with decision gates
- vision-to-backlog skill: Orchestrator with user decision gates (Haiku)
- problem-space-analyst agent: Vision → Event timeline (Haiku)
- context-mapper agent: Events → Bounded contexts (Haiku)
- domain-modeler agent: Contexts → Domain models (Haiku)
- capability-extractor agent: Domain → Capabilities (Haiku)
- backlog-builder agent: Capabilities → Features → Issues (Haiku)

The Chain:
Manifesto → Vision → Problem Space → Contexts → Domain → Capabilities → Features → Issues

Each step has decision gate preventing waste. Agents work autonomously, orchestrator
manages gates and user decisions.

Benefits:
- Composable: Each agent reusable independently
- DDD embedded throughout (not isolated)
- Prevents cargo-cult DDD (problem space before modeling)
- Works for greenfield + brownfield
- All Haiku models (cost-optimized)

Removed:
- ddd-breakdown skill (replaced by vision-to-backlog)
- ddd-analyst agent (replaced by 5 specialized agents)

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-01-12 16:38:20 +01:00
03a665503c feat: add parallel issue implementation capability with worktrees
Add complete capability set for orchestrating parallel issue implementation
with automated review cycles using git worktrees.

Components:
- worktrees skill: Git worktree patterns + bundled scripts for reliable operations
- spawn-issues skill: Event-driven orchestrator (Haiku) for parallel workflow
- issue-worker agent: Implements issues autonomously (Sonnet)
- code-reviewer agent: Reviews PRs with quality checks (Haiku, read-only)
- pr-fixer agent: Addresses review feedback automatically (Haiku)

Workflow: /spawn-issues creates worktrees → spawns workers → reviews PRs →
fixes feedback → iterates until approved → cleans up worktrees

Scripts handle error-prone worktree operations. Orchestrator uses event-driven
approach with task notifications for efficient parallel execution.

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-01-12 15:51:10 +01:00
6e4ff3af86 feat: add DDD capability for vision-to-issues workflow
Add complete DDD capability set for breaking down product vision into
implementation issues using Domain-Driven Design principles.

Components:
- issue-writing skill: Enhanced with user story format and vertical slices
- ddd skill: Strategic and tactical DDD patterns (bounded contexts, aggregates, commands, events)
- ddd-breakdown skill: User-invocable workflow (/ddd-breakdown)
- ddd-analyst agent: Analyzes manifesto/vision/code, generates DDD-structured user stories

Workflow: Read manifesto + vision → analyze codebase → identify bounded contexts
→ map features to DDD patterns → generate user stories → create Gitea issues

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-01-12 13:02:56 +01:00
dd9c1c0090 refactor(skills): apply progressive disclosure to gitea skill
Split gitea skill into main file and reference documentation.
Main SKILL.md now focuses on core commands (154 lines, down from 201),
with setup/auth and CI/Actions moved to reference files.

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-01-12 12:32:13 +01:00
90b18b95c6 try to restructure the agents and skills given the new skills and command merge 2026-01-12 11:47:52 +01:00
4de58a3a8c changed the recommended skill size to 300 lines 2026-01-12 11:25:08 +01:00
04b6c52e9a chore: remove global opus model setting from settings.json
Remove top-level model override to allow per-skill/agent model configuration.
Reorder sections for consistency.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-11 18:12:01 +01:00
f424a7f992 feat(skills): modernize capability-writing with Anthropic best practices
Updates capability-writing skill with progressive disclosure structure based on
Anthropic's January 2025 documentation. Implements Haiku-first approach (12x
cheaper, 2-5x faster than Sonnet).

Key changes:
- Add 5 core principles: conciseness, progressive disclosure, script bundling,
  degrees of freedom, and Haiku-first model selection
- Restructure with best-practices.md, templates/, examples/, and reference/
- Create 4 templates: user-invocable skill, background skill, agent, helper script
- Add 3 examples: simple workflow, progressive disclosure, with scripts
- Add 3 reference docs: frontmatter fields, model selection, anti-patterns
- Update create-capability to analyze complexity and recommend structures
- Default all new skills/agents to Haiku unless justified

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-11 18:10:53 +01:00
7406517cd9 refactor: migrate commands to user-invocable skills
Claude Code has unified commands into skills with the user-invocable
frontmatter field. This migration:

- Converts 20 commands to skills with user-invocable: true
- Consolidates docs into single writing-capabilities.md
- Rewrites capability-writing skill for unified model
- Updates CLAUDE.md, Makefile, and other references
- Removes commands/ directory

Skills now have two types:
- user-invocable: true - workflows users trigger with /name
- user-invocable: false - background knowledge auto-loaded

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-11 16:39:55 +01:00