Compare commits
4 Commits
issue-6-te
...
issue-12-a
| Author | SHA1 | Date | |
|---|---|---|---|
|
9c975c64ea
|
|||
| 60f0a39347 | |||
|
e2198c0d8e
|
|||
|
98c8b9a004
|
@@ -1,5 +1,15 @@
|
|||||||
{
|
{
|
||||||
"model": "opus",
|
"model": "opus",
|
||||||
|
"permissions": {
|
||||||
|
"allow": [
|
||||||
|
"Bash(git:*)",
|
||||||
|
"Bash(mkdir:*)",
|
||||||
|
"Bash(find:*)",
|
||||||
|
"Bash(curl:*)",
|
||||||
|
"Bash(tea:*)",
|
||||||
|
"WebSearch"
|
||||||
|
]
|
||||||
|
},
|
||||||
"statusLine": {
|
"statusLine": {
|
||||||
"type": "command",
|
"type": "command",
|
||||||
"command": "input=$(cat); current_dir=$(echo \"$input\" | jq -r '.workspace.current_dir'); model=$(echo \"$input\" | jq -r '.model.display_name'); style=$(echo \"$input\" | jq -r '.output_style.name'); git_info=\"\"; if [ -d \"$current_dir/.git\" ]; then cd \"$current_dir\" && branch=$(git branch --show-current 2>/dev/null) && status=$(git status --porcelain 2>/dev/null | wc -l | tr -d ' ') && git_info=\" [$branch$([ \"$status\" != \"0\" ] && echo \"*\")]\"; fi; printf \"\\033[2m$(whoami)@$(hostname -s) $(basename \"$current_dir\")$git_info | $model ($style)\\033[0m\""
|
"command": "input=$(cat); current_dir=$(echo \"$input\" | jq -r '.workspace.current_dir'); model=$(echo \"$input\" | jq -r '.model.display_name'); style=$(echo \"$input\" | jq -r '.output_style.name'); git_info=\"\"; if [ -d \"$current_dir/.git\" ]; then cd \"$current_dir\" && branch=$(git branch --show-current 2>/dev/null) && status=$(git status --porcelain 2>/dev/null | wc -l | tr -d ' ') && git_info=\" [$branch$([ \"$status\" != \"0\" ] && echo \"*\")]\"; fi; printf \"\\033[2m$(whoami)@$(hostname -s) $(basename \"$current_dir\")$git_info | $model ($style)\\033[0m\""
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
---
|
||||||
|
name: backlog-grooming
|
||||||
|
description: How to review and improve existing issues for clarity and actionability
|
||||||
|
---
|
||||||
|
|
||||||
# Backlog Grooming
|
# Backlog Grooming
|
||||||
|
|
||||||
How to review and improve existing issues.
|
How to review and improve existing issues.
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
---
|
||||||
|
name: code-review
|
||||||
|
description: Guidelines and templates for reviewing code changes in pull requests
|
||||||
|
---
|
||||||
|
|
||||||
# Code Review
|
# Code Review
|
||||||
|
|
||||||
Guidelines for reviewing code changes in pull requests.
|
Guidelines for reviewing code changes in pull requests.
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
---
|
||||||
|
name: gitea
|
||||||
|
description: Gitea CLI (tea) for issues, pull requests, and repository management
|
||||||
|
---
|
||||||
|
|
||||||
# Gitea CLI (tea)
|
# Gitea CLI (tea)
|
||||||
|
|
||||||
Command-line interface for interacting with Gitea repositories.
|
Command-line interface for interacting with Gitea repositories.
|
||||||
@@ -119,15 +124,15 @@ tea clone <owner>/<repo> # Clone repository
|
|||||||
tea comment <number> "<comment body>"
|
tea comment <number> "<comment body>"
|
||||||
tea comment 3 "LGTM, ready to merge"
|
tea comment 3 "LGTM, ready to merge"
|
||||||
|
|
||||||
# Multiline comments (use heredoc)
|
# Multiline comments (use quoted strings with literal newlines)
|
||||||
tea comment 3 "$(cat <<'EOF'
|
tea comment 3 "## Review Summary
|
||||||
## Review Summary
|
|
||||||
- Code looks good
|
- Code looks good
|
||||||
- Tests pass
|
- Tests pass"
|
||||||
EOF
|
|
||||||
)"
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
> **Warning**: Do not use heredoc syntax `$(cat <<'EOF'...EOF)` with `tea comment` - it causes the command to be backgrounded and fail silently.
|
||||||
|
|
||||||
### Notifications
|
### Notifications
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@@ -155,6 +160,7 @@ tea issues -r owner/repo # Specify repo directly
|
|||||||
## Tips
|
## Tips
|
||||||
|
|
||||||
- **View single issue**: Use `tea issues <number>` (NOT `tea issues view <number>` - there is no `view` subcommand)
|
- **View single issue**: Use `tea issues <number>` (NOT `tea issues view <number>` - there is no `view` subcommand)
|
||||||
|
- **PR description flag**: Use `--description` or `-d` (NOT `--body` like gh CLI)
|
||||||
- Always verify you're in the correct repository before running commands
|
- Always verify you're in the correct repository before running commands
|
||||||
- Use `tea issues` to find issue numbers before viewing/editing
|
- Use `tea issues` to find issue numbers before viewing/editing
|
||||||
- Reference issues in PR bodies with `Closes #N` for auto-linking
|
- Reference issues in PR bodies with `Closes #N` for auto-linking
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
---
|
||||||
|
name: issue-writing
|
||||||
|
description: How to write clear, actionable issues with proper structure and acceptance criteria
|
||||||
|
---
|
||||||
|
|
||||||
# Issue Writing
|
# Issue Writing
|
||||||
|
|
||||||
How to write clear, actionable issues.
|
How to write clear, actionable issues.
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
---
|
||||||
|
name: roadmap-planning
|
||||||
|
description: How to plan features and create issues for implementation
|
||||||
|
---
|
||||||
|
|
||||||
# Roadmap Planning
|
# Roadmap Planning
|
||||||
|
|
||||||
How to plan features and create issues for implementation.
|
How to plan features and create issues for implementation.
|
||||||
|
|||||||
Reference in New Issue
Block a user