From 8b298e3564653ddd57698309d85569efe4091c51 Mon Sep 17 00:00:00 2001 From: Hugo Nijhuis Date: Wed, 31 Dec 2025 16:41:03 +0100 Subject: [PATCH] Fix tea CLI syntax for viewing issues MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The tea CLI doesn't have a `view` subcommand - use `tea issues ` directly instead of `tea issues view `. - Fix example in ARCHITECTURE.md - Add clarifying tip in gitea skill to prevent this common mistake Closes #2 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- ARCHITECTURE.md | 2 +- skills/gitea/SKILL.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ARCHITECTURE.md b/ARCHITECTURE.md index 503bd0d..4e6d865 100644 --- a/ARCHITECTURE.md +++ b/ARCHITECTURE.md @@ -55,7 +55,7 @@ argument-hint: # Work on Issue #$1 -1. **View the issue**: `tea issue view $1` +1. **View the issue**: `tea issues $1` 2. **Create a branch**: `git checkout -b issue-$1-` ... ``` diff --git a/skills/gitea/SKILL.md b/skills/gitea/SKILL.md index 0a9a8f1..cadff41 100644 --- a/skills/gitea/SKILL.md +++ b/skills/gitea/SKILL.md @@ -138,6 +138,7 @@ tea issues -r owner/repo # Specify repo directly ## Tips +- **View single issue**: Use `tea issues <number>` (NOT `tea issues view <number>` - there is no `view` subcommand) - Always verify you're in the correct repository before running commands - Use `tea issues` to find issue numbers before viewing/editing - Reference issues in PR bodies with `Closes #N` for auto-linking