List tags with optional filtering
Lists repository tags with optional pattern filtering and limit by count.
/plugin marketplace add fractary/claude-plugins/plugin install fractary-repo@fractary[--pattern <pattern>] [--latest <n>]claude-haiku-4-5<CRITICAL_RULES> YOU MUST:
YOU MUST NOT:
THIS COMMAND IS ONLY A ROUTER. </CRITICAL_RULES>
<WORKFLOW> 1. **Parse user input** - Parse optional arguments: --pattern, --latest - All arguments are optionalBuild structured request
Invoke agent
Return response
<ARGUMENT_SYNTAX>
This command follows the space-separated argument syntax (consistent with work/repo plugin family):
--flag value (NOT --flag=value)Patterns may need quotes:
✅ /repo:tag-list --pattern "v1.*"
✅ /repo:tag-list --pattern "v2.0.*"
❌ /repo:tag-list --pattern=v1.*
Numeric values don't require quotes:
✅ /repo:tag-list --latest 10
✅ /repo:tag-list --latest 5
</ARGUMENT_SYNTAX>
<ARGUMENT_PARSING>
Optional Arguments:
--pattern (string): Glob pattern to filter tags (e.g., "v1." for all v1.x.x tags, "v2.0." for v2.0.x)--latest (number): Show only the latest N tags (e.g., --latest 10 for 10 most recent tags)Maps to: list-tags
Example:
/repo:tag-list --latest 10
→ Invoke agent with {"operation": "list-tags", "parameters": {"latest": 10}}
</ARGUMENT_PARSING>
<EXAMPLES> ## Usage Examples# List all tags
/repo:tag-list
# List latest 5 tags
/repo:tag-list --latest 5
# List tags matching pattern
/repo:tag-list --pattern "v1.*"
# List latest 10 tags matching pattern
/repo:tag-list --pattern "v2.*" --latest 10
</EXAMPLES>
<AGENT_INVOCATION>
CRITICAL: After parsing arguments, you MUST actually invoke the Task tool. Do NOT just describe what should be done.
How to invoke: Use the Task tool with these parameters:
Example Task tool invocation (customize based on the specific operation):
Request structure:
{
"operation": "list-tags",
"parameters": {
"pattern": "v1.*",
"latest": 10
}
}
The repo-manager agent will:
DO NOT:
<ERROR_HANDLING> Common errors to handle:
Invalid pattern:
Error: Invalid glob pattern: [invalid
Use standard glob patterns like "v1.*" or "v2.0.*"
Invalid latest value:
Error: latest must be a positive number
Usage: /repo:tag-list --latest <n>
</ERROR_HANDLING>
<NOTES> ## Tag Filtering--pattern "v*"--latest 5--pattern "v1.2.*"This command works with:
Platform is configured via /repo:init and stored in .fractary/plugins/repo/config.json.
Related commands:
/repo:tag-create - Create tags/repo:tag-push - Push tags to remote/repo:init - Configure repo plugin
</NOTES>