redmine-cli

GitHub

提供Redmine CLI工具的使用指南,支持创建、查询和管理Issue、项目、时间记录等。涵盖命令用法、JSON输出规范及权限处理技巧,用于自动化或辅助Redmine项目管理操作。

data/skills-md/aarondpn/redmine-cli/redmine-cli/SKILL.md NeverSight/learn-skills.dev

Trigger Scenarios

用户请求管理Redmine Issue 用户提及redmine、ticket或time entry 需要查询或更新项目信息

Install

npx skills add NeverSight/learn-skills.dev --skill redmine-cli -g -y
More Options

Non-standard path

npx skills add https://github.com/NeverSight/learn-skills.dev/tree/main/data/skills-md/aarondpn/redmine-cli/redmine-cli -g -y

Use without installing

npx skills use NeverSight/learn-skills.dev@redmine-cli

指定 Agent (Claude Code)

npx skills add NeverSight/learn-skills.dev --skill redmine-cli -a claude-code -g -y

安装 repo 全部 skill

npx skills add NeverSight/learn-skills.dev --all -g -y

预览 repo 内 skill

npx skills add NeverSight/learn-skills.dev --list

SKILL.md

Frontmatter
{
    "name": "redmine-cli",
    "description": "Use the `redmine` CLI to interact with Redmine. Activate when the user asks to create, list, update, close, or search issues, log or view time entries, manage versions or memberships, query projects\/users\/groups, or perform any Redmine project management task. Also activate when the user says \"redmine\", \"issue\", \"ticket\", \"time entry\", or references Redmine workflows."
}

Redmine CLI

A CLI for the Redmine REST API. Use redmine <command> --help for detailed flags and examples — this skill only covers what --help cannot tell you.

Available Commands

Only these top-level commands exist. Do NOT invent subcommands that aren't listed here — run redmine <command> --help to discover subcommands.

Command Purpose
issues Create, list, get, update, close, reopen, assign, comment, delete, search, browse issues
projects List, get, create, update, delete projects; list project members
time Log, list, get, update, delete, summarize time entries
versions List, get project versions (milestones)
memberships List, get, create, update, delete project memberships
users List, get, create, update, delete users
groups List, get, create, update, delete groups; add/remove users
categories List issue categories
trackers List trackers
statuses List issue statuses
search Search issues, wiki, news, messages, or browse results
api Make raw authenticated API requests

Setup

If the redmine command is not found, install it:

curl -fsSL https://raw.githubusercontent.com/aarondpn/redmine-cli/main/install.sh | bash

Then run redmine init for interactive configuration. Use redmine config to verify an existing setup.

Critical Rules

  • Always use -o json when you need to parse output programmatically. JSON goes to stdout only; stderr is separate.
  • Use --limit 0 to fetch ALL results. The default limit is 100.
  • All name-accepting flags (--project, --tracker, --status, --priority, --assignee, --category, --version, --activity) resolve human-readable names automatically. You don't need to look up IDs first.
  • --assignee me refers to the current API user.
  • --status "*" shows all issues regardless of status (default is open).

Permission Gotcha: Users & Groups

Resolving users and groups by name requires admin privileges. If you get a permission error:

  • Do NOT retry with the same name
  • Use me for the current user
  • To discover user IDs without admin access, extract them from other sources:
    • redmine issues list --project <project> -o json — the assigned_to and author fields contain user IDs and names
    • redmine memberships list --project <project> -o json — lists all project members with their IDs
    • redmine issues get <id> --journals -o json — journal entries contain user references

Workflow: Resolving Ambiguous Values

When a command needs a value from a fixed set (tracker, status, priority, category, version, assignee) and you're not sure of the exact name:

  1. Query options first: redmine trackers list -o json, redmine statuses list -o json, etc.
  2. Present choices to the user via AskUserQuestion with a formatted list
  3. Use the confirmed value in the command

For users/groups, if the list endpoint fails with a permission error, use the workarounds from the section above instead.

Non-Obvious Behaviors

  • redmine issues list defaults to --status open. Use --status closed, --status "*", or a specific status name.
  • redmine issues get <id> --journals includes comments/history. Also available: --children, --relations.
  • redmine issues update only sends flags you explicitly pass — omitted flags are not changed.
  • If --project is omitted, the configured default project is used (set via redmine init).
  • Version status filters (--open, --closed, --locked) on redmine versions list are applied client-side.

Version History

  • e0220ca Current 2026-07-05 22:09

Same Skill Collection

data/skills-md/00prabalk00/claude-skills/knowledge-base-gap-finder/SKILL.md
data/skills-md/01000001-01001110/agent-jira-skills/jira-agile/SKILL.md
data/skills-md/01000001-01001110/agent-jira-skills/jira-auth/SKILL.md
data/skills-md/01000001-01001110/agent-jira-skills/jira-issues/SKILL.md
data/skills-md/01000001-01001110/agent-jira-skills/jira-project-management/SKILL.md
data/skills-md/01000001-01001110/agent-jira-skills/jira-projects/SKILL.md
data/skills-md/01000001-01001110/agent-jira-skills/jira-safe/SKILL.md
data/skills-md/01000001-01001110/agent-jira-skills/jira-search/SKILL.md
data/skills-md/01000001-01001110/agent-jira-skills/jira-spaces/SKILL.md
data/skills-md/01000001-01001110/agent-jira-skills/jira-transitions/SKILL.md
data/skills-md/0731coderlee-sudo/wechat-publisher/wechat-publisher/SKILL.md
data/skills-md/0froq/skills/conventionalcommits/SKILL.md
data/skills-md/0froq/skills/nuxt/SKILL.md
data/skills-md/0froq/skills/oq/SKILL.md
data/skills-md/0froq/skills/pinia/SKILL.md
data/skills-md/0froq/skills/pnpm/SKILL.md
data/skills-md/0froq/skills/slidev/SKILL.md
data/skills-md/0froq/skills/tsdown/SKILL.md
data/skills-md/0froq/skills/turborepo/SKILL.md
data/skills-md/0froq/skills/unocss/SKILL.md
data/skills-md/0froq/skills/vitepress/SKILL.md
data/skills-md/0froq/skills/vitest/SKILL.md
data/skills-md/0froq/skills/vue-best-practices/SKILL.md
data/skills-md/0froq/skills/vue-router-best-practices/SKILL.md
data/skills-md/0froq/skills/vue-testing-best-practices/SKILL.md
data/skills-md/0froq/skills/vue/SKILL.md
data/skills-md/0froq/skills/vueuse-functions/SKILL.md
data/skills-md/0froq/skills/web-design-guidelines/SKILL.md
data/skills-md/0juano/agent-skills/bondterminal-x402/SKILL.md
data/skills-md/0juano/agent-skills/edgeone-pages-deploy/SKILL.md
data/skills-md/0juano/agent-skills/ley-ar/SKILL.md
data/skills-md/0juano/agent-skills/ticktick/SKILL.md
data/skills-md/0juano/agent-skills/x-image-cards/SKILL.md
data/skills-md/0juano/x-image-cards/x-image-cards/SKILL.md
data/skills-md/0x0funky/agent-sprite-forge/generate2dsprite/SKILL.md
data/skills-md/0x0funky/agent-sprite-forge/video2dsprite/SKILL.md
data/skills-md/0x2e/superpowers/brainstorming/SKILL.md
data/skills-md/0x2e/superpowers/dispatching-parallel-agents/SKILL.md
data/skills-md/0x2e/superpowers/executing-plans/SKILL.md
data/skills-md/0x2e/superpowers/finishing-a-development-branch/SKILL.md
data/skills-md/0x2e/superpowers/receiving-code-review/SKILL.md
data/skills-md/0x2e/superpowers/requesting-code-review/SKILL.md
data/skills-md/0x2e/superpowers/subagent-driven-development/SKILL.md
data/skills-md/0x2e/superpowers/systematic-debugging/SKILL.md
data/skills-md/0x2e/superpowers/test-driven-development/SKILL.md
data/skills-md/0x2e/superpowers/using-git-worktrees/SKILL.md
data/skills-md/0x2e/superpowers/using-superpowers/SKILL.md
data/skills-md/0x2e/superpowers/verification-before-completion/SKILL.md
data/skills-md/0x2e/superpowers/writing-plans/SKILL.md
data/skills-md/0x2e/superpowers/writing-skills/SKILL.md

Metadata

Files
0
Version
e4a0f95
Hash
cb2cf2de
Indexed
2026-07-05 22:09

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-07 04:59
浙ICP备14020137号-1 $Гость$