ClaudeMods
☰
ZH-CN
● 0 人在线 · 浏览 0 次
赞助提交作品
GitHub 仓库 · 发布者 yandy-r

status-bar

一个 Claude Code 插件包(ycc),包含 ycc/mods/status-bar 下的 status-bar 插件,可通过 yandy-r/claude-plugins 市场安装。

yandy-r@yandy-r

yandy-r/claude-plugins/tree/main/ycc/mods/status-bar

已翻译

关于这个 mod

仓库 yandy-r/claude-plugins 提供 ycc Claude Code 插件,其中打包了许多技能、命令和代理。status-bar 插件位于 ycc/mods/status-bar,并通过 install.sh sync --target claude --intent mods 同步。安装时使用 /plugin marketplace add yandy-r/claude-plugins,接着使用 /plugin install ycc@ycc;也可以在 ~/.claude/settings.json 中启用 "ycc@ycc"。该仓库还会为 Cursor、Codex 和 opencode 生成兼容性包。

安装

请先查看作者 README 确认 marketplace 和插件名称;命令可能随仓库结构改变。

claude plugin marketplace add yandy-r/claude-plugins
claude plugin install status-bar
原文 / README

claude-plugins

A single Claude Code plugin (ycc) bundling workflow orchestration, parallel planning, documentation, research, and project management. The repository also generates native compatibility bundles for Cursor, Codex, and opencode.

2.0.0 breaking change. Versions ≤ 1.x shipped 9 separate plugins (ask, plan-workflow, git-workflow, implement-plan, code-report, deep-research, orchestrate, write-docs, project). 2.0.0 collapses all of them into a single ycc plugin so every skill is accessible via ycc:{skill}. Re-install after upgrading.

Migration: /ycc:ask and ycc:ask retired. For read-only codebase questions, ask the main session to delegate to ycc:codebase-advisor. Request explicit search gaps, assumptions, and analyzed/skipped scope in the answer. Request implementation separately.

What's inside

<!-- BEGIN:GENERATED-COUNTS -->

The source plugin ships 51 skills, 50 slash commands (most skills have a matching command), and 55 agents.

<!-- END:GENERATED-COUNTS --> <!-- BEGIN:GENERATED-COMMANDS -->

| Command / Skill | Purpose | | -------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | /ycc:backport | Cherry-pick merged trunk PRs onto active maintenance branches (release/X.Y) and open backport PRs, following RELEASING.md and its backport:X.Y labels. | | /ycc:blueprint | Whole-project source-of-truth spec generator. | | /ycc:bundle-author | Scaffold new source-of-truth content in the ycc bundle (skill, optional matching command and agent) | | /ycc:bundle-release | Prepare a ycc bundle release — preflight, bump, regenerate, validate, draft notes (no auto-commit) | | /ycc:clean | Orchestrate parallel cleanup agents to find and remove unnecessary project files | | /ycc:code-report | Generate structured implementation reports documenting changes made during plan execution. | | /ycc:code-review | Code review — local uncommitted changes or a GitHub PR (pass PR number/URL for PR mode). | | /ycc:compatibility-audit | Audit cross-target compatibility of the ycc bundle across Claude, Cursor, Codex, and opencode targets | | /ycc:deep-research | Conduct strategic multi-perspective research using the Asymmetric Research Squad methodology — 8 specialized personas (historical, contrarian, analogical, systems, journalistic, ar... | | /ycc:feature-research | Research a feature comprehensively before implementation — analyzes requirements, gathers external API context, and produces a feature-spec.md ready for plan-workflow. | | /ycc:formatters | Bootstrap a best-practices lint/format environment — installs a self-contained scripts/style.sh bundle, per-language tool configs, runnable aliases (package.json/Makefile/justfile)... | | /ycc:frontend-design | Create distinctive, production-grade frontend interfaces with intentional visual direction — typography, color, spacing rhythm, layout composition, motion, and atmosphere. | | /ycc:frontend-patterns | Frontend patterns for React and Next.js — composition, compound components, render props, custom hooks, state management with Context+useReducer, data fetching, performance optimiz... | | /ycc:frontend-slides | Create stunning, animation-rich, zero-dependency HTML presentations from scratch or by converting PowerPoint files. | | /ycc:git-cleanup | Audit and clean up stale git resources (branches, worktrees, remote-tracking refs, stashes, tags, PRs, issues) on GitHub/GitLab. | | /ycc:git-workflow | Git commit and documentation workflow manager. | | /ycc:go-patterns | Idiomatic Go patterns, best practices, and conventions for building robust, efficient, and maintainable Go applications. | | /ycc:go-testing | Go testing patterns including table-driven tests, subtests, benchmarks, fuzzing, and test coverage. | | /ycc:hooks-workflow | Generate target-aware hook configuration from ycc rule guidance with graceful fallbacks. | | /ycc:implement-plan | Execute a parallel implementation plan by deploying implementor agents in dependency-resolved batches. | | /ycc:init | Initialize workspace — profile project, emit CLAUDE.md/AGENTS.md/.cursor/rules, optional GitHub templates, git conventions, and Claude CLI config. | | /ycc:orchestrate | Orchestrate multiple specialized agents to accomplish a complex task through intelligent decomposition and parallel execution. | | /ycc:parallel-plan | Generate a detailed parallel implementation plan with task dependencies, file ownership, and batch ordering. | | /ycc:plan | Lightweight conversational planner. | | /ycc:plan-workflow | Unified planning workflow — research, analyze, and generate parallel implementation plans in one command. | | /ycc:pr-autofix | Vendor-neutral PR comment auto-fix — discover every review thread, file-level review comment, and top-level PR comment from any author, dispatch per-comment fix agents, resolve thr... | | /ycc:prp-commit | Quick natural-language git commit helper — describe what to commit in plain English (blob glob, filter phrase, or topic). | | /ycc:prp-implement | Execute a PRP plan file with per-task validation loops. | | /ycc:prp-plan | Create a single-pass implementation plan from a feature description or PRD. | | /ycc:prp-pr | Create a GitHub PR from the current branch — discovers templates, analyzes commits, references PRP artifacts, pushes, and opens the PR via gh. | | /ycc:prp-prd | Interactive PRD generator — problem-first, hypothesis-driven product spec built through iterative questioning and dual-mode grounding research. | | /ycc:prp-spec | Generate a lightweight feature spec for the PRP workflow — single-pass with optional codebase/market grounding. | | /ycc:python-patterns | Idiomatic Python patterns, PEP 8 conventions, type hints, dataclasses, context managers, decorators, and best practices for building robust, maintainable Python applications. | | /ycc:python-testing | Python testing patterns using pytest — TDD methodology, fixtures (function/module/session scopes), parametrization, markers, mocking with unittest.mock, async tests with pytest-asy... | | /ycc:quick-fix | Apply fixes from an inline /ycc:quick-review findings block without creating a review artifact. | | /ycc:quick-review | Fast interactive review of uncommitted changes. | | /ycc:release-model | Create, upgrade, or audit a project's RELEASING.md branching and release model — surveys tags, release branches, CI, and version files, proposes trunk-only or release-branches, ren... | | /ycc:releaser | Prepare and cut a GitHub release for any project — detects toolchain, drafts changelog, plans platform/arch artifacts, optionally generates or audits release CI, optionally invokes... | | /ycc:research-to-issues | Convert research, feature specs, and implementation plans into structured GitHub issues with tracking hierarchy, labels, and priority. | | /ycc:resume-session | Load a saved session and produce a structured briefing; wait for user direction before starting work. | | /ycc:review-fix | Plan and apply fixes for findings from a /ycc:code-review artifact. | | /ycc:rust-patterns | Idiomatic Rust patterns, ownership, error handling, traits, concurrency, and best practices for building safe, performant applications. | | /ycc:rust-testing | Rust testing patterns including unit tests, integration tests, async testing, property-based testing, mocking, and coverage. | | /ycc:save-session | Save current session state to a dated file in ~/.claude/session-data/ so work can be resumed in a future session with full context. | | /ycc:shared-context | Build shared context documentation for a feature — gathers files, conventions, dependencies, and existing patterns into a single artifact that downstream planning stages can refere... | | /ycc:ts-patterns | Idiomatic TypeScript patterns — strict type system, discriminated unions, generic inference, satisfies, branded types, errors as values, ESM/CJS modules with exports maps, Prom... | | /ycc:ts-testing | TypeScript testing patterns using Vitest as the primary runner — TDD workflow, unit tests, integration tests, async tests with fake timers, parameterized tests via test.each, pro... | | /ycc:visual-plan | Turn an existing text plan into a rich, interactive visual plan — diagrams, file maps, annotated code, open questions, and an optional UI/prototype review surface. | | /ycc:visual-recap | Turn a finished change (git range, branch, or tracked working-tree diff) into a LOCAL-ONLY interactive visual recap — annotated split diffs, file map, schema/API deltas, diagrams,... | | /ycc:write-docs | Orchestrate 5 specialized documentation agents in parallel to analyze codebase and create comprehensive documentation. |

<!-- END:GENERATED-COMMANDS -->

Agents

<!-- BEGIN:GENERATED-AGENTS -->

The plugin bundles 55 specialized agents covering codebase analysis, language experts (Go, Rust, Python, TypeScript), reviewers, planners, documenters, and infrastructure architects.

<details> <summary>Full agent list (55 agents, grouped by role)</summary>
  • Language experts & implementors (12): frontend-ui-developer, go-api-architect, go-expert-architect, nextjs-ux-ui-expert, nodejs-backend-architect, nodejs-backend-developer, python-developer, python-expert-architect, rust-build-resolver, rust-expert-architect, typescript-developer, typescript-expert-architect
  • Code review & quality (7): backport-conflict-resolver, code-reviewer, code-simplifier, pr-comment-fixer, release-fix-applier, review-fixer, rust-reviewer
  • Research & discovery (10): code-explorer, code-finder, code-researcher, codebase-advisor, feature-researcher, library-docs-writer, practices-researcher, prp-researcher, research-specialist, root-cause-analyzer
  • Architecture & planning (5): architect, architecture-analyst, code-architect, planner, test-strategy-planner
  • Documentation (7): api-docs-expert, api-documenter, code-documenter, docs-git-committer, documentation-writer, feature-writer, readme-generator
  • Infrastructure & DevOps (7): ansible-automation-expert, cloudflare-architect, cloudflare-developer, reverse-proxy-architect, systems-engineering-expert, terraform-architect, terraform-developer
  • Databases (3): db-modifier, sql-database-developer, turso-database-architect
  • Workflow utilities (4): git-cleanup, implementor, project-file-cleaner, releaser
</details> <!-- END:GENERATED-AGENTS -->

Contributing: before proposing a new skill, command, or agent, read the Scope & Guardrails policy in CONTRIBUTING.md.

  • Credits: ycc:visual-plan and ycc:visual-recap are adapted from BuilderIO/skills.

Installation

For Claude Code, install the published ycc plugin from the marketplace:

# Add the marketplace
/plugin marketplace add yandy-r/claude-plugins

# Install the bundle
/plugin install ycc@ycc

Or enable in ~/.claude/settings.json:

{
  "enabledPlugins": {
    "ycc@ycc": true
  }
}

For local development installs, generated compatibility bundles, model defaults, and desktop app notes, use the dedicated install guides. Recommended sync form:

./install.sh sync --target claude --intent hooks,settings,mcp,plugins
./install.sh sync --target claude --intent mods                          # Claude Code mods (ycc/mods)
./install.sh sync --target all --intent settings,rules
./install.sh sync --target codex,claude,opencode --intent mcp            # current project
./install.sh sync --target codex,claude,opencode --intent mcp --global   # user-global
./install.sh remove --target all --only mcp                              # undo project MCP
./install.sh cli && ycc completion --install                             # `ycc` on PATH for other projects

The mcp step defaults to the current project; pass --global for user-global config. remove strips installer-managed MCP servers and leaves yours alone. See Project Vs Global Scope.

--target takes a comma-separated list (or all); every target is validated before any of them runs.

Structured config is merged rather than copied: repo-managed keys update while unknown and locally edited keys remain intact. First-time setup uses install (./install.sh install --target <t> [--settings --rules --mcp --hooks]); every invocation needs a command — a bare --target ... is rejected.

Dedicated guides:

| Runtime | Install guide | | ---------------------------- | ------------------------------------------------------ | | Claude Code / Claude Desktop | docs/install/claude.md | | Cursor | docs/install/cursor.md | | Codex / Codex Desktop | docs/install/codex.md | | opencode | docs/install/opencode.md | | Shared installer concepts | docs/install/README.md |

Workflow composition

The planning skills compose into a pipeline:

ycc:feature-research → ycc:shared-context → ycc:parallel-plan → ycc:implement-plan → ycc:code-report → ycc:git-workflow
   (research)            (gather files)       (design tasks)      (deploy agents)      (document)         (commit/PR)

Use ycc:plan-workflow to run the full pipeline, or invoke individual stages. ycc:shared-context and ycc:parallel-plan are thin aliases over ycc:plan-workflow --research-only and --plan-only respectively; the pipeline and its artifacts are unchanged.

Development Sync

This repository maintains generated compatibility trees under .cursor-plugin/, .codex-plugin/, and .opencode-plugin/. The canonical source of truth is the Claude-facing ycc/ tree.

Regenerate and validate derived artifacts with:

./scripts/sync.sh        # regenerate inventory and compatibility bundles
./scripts/validate.sh    # run every validator; CI runs this on push and PR

Both accept --only <targets> with comma-separated values. Valid targets:

  • inventory — docs/inventory.json and the GENERATED-* regions of README.md
  • cursor — .cursor-plugin/ agents, skills, and rules
  • codex — .codex-plugin/ skills, agents, and plugin metadata
  • opencode — .opencode-plugin/ skills, agents, commands, and plugin metadata (opencode.json + AGENTS.md)
  • json — JSON-lint .claude-plugin/marketplace.json and ycc/.claude-plugin/plugin.json (validate only)

Examples:

./scripts/sync.sh --only inventory
./scripts/validate.sh --only cursor,codex,opencode
./scripts/sync.sh --only opencode

CI runs ./scripts/validate.sh via .github/workflows/validate.yml and fails the job on any generated drift, so local and CI paths are identical.

OpenCode Per-Agent Model Policy

ycc/settings/models.json owns OpenCode model policy. Every ycc/agents/*.md basename, plus built-in general and explore, must have a full provider/model entry in targets.opencode.agents. Select by intended capability: deep architecture or high-risk work uses openai/gpt-6-astra; docs, lookup, and routine work uses openai/gpt-5.6-terra; all other agents use openai/gpt-5.6-sol. These are placeholders (placeholder: true); users choose available provider models by capability and cost. opencode.json owns assignments; generated agent Markdown stays model-free. Update this mapping whenever an agent is added, renamed, or removed, then run ./scripts/sync.sh and ./scripts/validate.sh.

Repository layout

claude-plugins/
├── .claude-plugin/
│   └── marketplace.json     # marketplace registry (single ycc entry)
├── .agents/
│   └── plugins/
│       └── marketplace.json # repo-local Codex marketplace source
├── .codex-plugin/
│   ├── agents/              # generated Codex custom agents (.toml)
│   └── ycc/                 # generated Codex plugin root
│       ├── .codex-plugin/
│       │   └── plugin.json
│       ├── .mcp.json
│       ├── shared/
│       └── skills/
├── .cursor-plugin/            # Cursor IDE bundle (synced by install.sh install --target cursor)
│   ├── agents/                # generated from ycc/agents (run scripts/generate-cursor-agents.sh)
│   ├── rules/                 # generated from ycc/rules (run scripts/generate-cursor-rules.sh)
│   └── skills/                # generated from ycc/skills (run scripts/generate-cursor-skills.sh)
├── .opencode-plugin/          # opencode bundle (synced by install.sh install --target opencode)
│   ├── agents/                # generated from ycc/agents
│   ├── commands/              # generated from ycc/commands
│   ├── skills/                # generated from ycc/skills
│   ├── shared/                # generated from ycc/skills/_shared
│   ├── AGENTS.md              # generated rules file (transformed from CLAUDE.md)
│   └── opencode.json          # generated config: $schema + default model + MCP
├── mcp-configs/
│   └── mcp.json               # shared MCP servers; merged/copied by install.sh
├── install.sh                 # sync Claude/Cursor/Codex/opencode targets
├── scripts/
│   ├── generate-codex-skills.sh    # wrapper → generate_codex_skills.py
│   ├── generate_codex_skills.py    # ycc/skills → .codex-plugin/ycc/skills
│   ├── validate-codex-skills.sh    # sync check + Codex skill lint/content policy
│   ├── generate-codex-agents.sh    # wrapper → generate_codex_agents.py
│   ├── generate_codex_agents.py    # ycc/agents → .codex-plugin/agents
│   ├── validate-codex-agents.sh    # sync check + TOML/content policy
│   ├── generate-codex-plugin.sh    # wrapper → generate_codex_plugin.py
│   ├── generate_codex_plugin.py    # plugin manifest + repo-local marketplace metadata
│   ├── validate-codex-plugin.sh    # JSON + sync check
│   ├── generate-cursor-agents.sh   # wrapper → generate_cursor_agents.py
│   ├── generate_cursor_agents.py   # ycc/agents → .cursor-plugin/agents
│   ├── validate-cursor-agents.sh   # sync check + content policy
│   ├── generate-cursor-skills.sh   # wrapper → generate_cursor_skills.py
│   ├── generate_cursor_skills.py   # ycc/skills → .cursor-plugin/skills
│   ├── validate-cursor-skills.sh   # sync check + content policy
│   ├── generate-cursor-rules.sh    # wrapper → generate_cursor_rules.py
│   ├── generate_cursor_rules.py    # ycc/rules → .cursor-plugin/rules (.md → .mdc)
│   ├── validate-cursor-rules.sh    # sync + frontmatter lint + content policy
│   ├── generate-opencode-skills.sh    # wrapper → generate_opencode_skills.py
│   ├── generate_opencode_skills.py    # ycc/skills → .opencode-plugin/skills
│   ├── validate-opencode-skills.sh    # sync check + frontmatter lint + content policy
│   ├── generate-opencode-agents.sh    # wrapper → generate_opencode_agents.py
│   ├── generate_opencode_agents.py    # ycc/agents → .opencode-plugin/agents
│   ├── validate-opencode-agents.sh    # sync check + frontmatter lint + content policy
│   ├── generate-opencode-commands.sh  # wrapper → generate_opencode_commands.py
│   ├── generate_opencode_commands.py  # ycc/commands → .opencode-plugin/commands
│   ├── validate-opencode-commands.sh  # sync check + frontmatter lint + content policy
│   ├── generate-opencode-plugin.sh    # wrapper → generate_opencode_plugin.py
│   ├── generate_opencode_plugin.py    # opencode.json + AGENTS.md + MCP translation
│   ├── validate-opencode-plugin.sh    # JSON schema + sync check
│   ├── generate_opencode_common.py    # shared paths / transforms / model + tool maps
│   └── opencode_model_aliases.json    # Claude-shorthand → openai/gpt-5.4-family map
├── ycc/                       # the consolidated Claude Code plugin
│   ├── .claude-plugin/
│   │   └── plugin.json        # name: "ycc", current version in plugin.json
│   ├── commands/              # slash commands (count in generated region above)
│   ├── agents/                # agents (source for Cursor/Codex/opencode generation)
│   ├── rules/                 # language-specific rules (common + per-language); source for Cursor .mdc generation
│   ├── settings/              # shared Claude settings: settings.json, models.json, hooks/, rules/, statusline
│   └── skills/                # skills + _shared (source for Cursor/Codex/opencode generation)
│       ├── _shared/           # shared scripts (e.g., resolve-plans-dir.sh)
│       └── {skill-name}/
│           ├── SKILL.md
│           ├── references/    # templates and examples
│           └── scripts/       # validation and helpers
└── docs/
    ├── install/               # runtime-specific install guides
    └── plans/                 # implementation plans

License

MIT

其他同名作品

更多类似作品