npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@yan-geroge/omg

v0.1.2

Published

CSC 多智能体编排插件 — 为 CSC 提供多智能体编排、技能路由、生命周期 Hook 注入能力

Readme

oh-my-costrict (OMC)

CSC 多智能体编排插件 — 为 CoStrict CLI (CSC) 提供多智能体编排、技能路由和生命周期 Hook 注入能力。

特性

  • 6 个专用子代理 — planner, architect, executor, reviewer, verifier, tdd-guide,覆盖完整开发流程
  • 2 个编排技能 — autopilot 自动审查流水线 + team 多智能体并行团队
  • 生命周期 Hook — SessionStart 注入工作流状态,UserPromptSubmit 关键词检测触发代理路由
  • 中文优先 — 所有文档、注释、代理提示均使用中文

安装

NPM 安装(推荐)

npm install @yan-geroge/omg

本地安装

# 克隆仓库
git clone https://github.com/y574444354/oh-my-geroge.git ~/.claude/plugins/cache/local/oh-my-costrict/

# 在 settings.json 中启用
{
  "enabledPlugins": ["oh-my-costrict@local"]
}

可用代理

| 代理 | 用途 | 使用时机 | |------|------|----------| | oh-my-costrict:planner | 任务规划、PRD 编写 | 复杂功能、重构前 | | oh-my-costrict:architect | 系统设计、架构审查 | 架构决策时 | | oh-my-costrict:executor | 代码实现 | 编写或修改代码时 | | oh-my-costrict:reviewer | 代码/设计/安全审查 | 代码刚写完时 | | oh-my-costrict:verifier | 测试运行、覆盖率检查 | 实现完成后 | | oh-my-costrict:tdd-guide | TDD 红-绿-重构循环 | 新功能、Bug 修复 |

可用技能

| 技能 | 用途 | 触发方式 | |------|------|----------| | /oh-my-costrict:costrict-autopilot | 自动审查流水线(PRD → 设计审查 → 工程审查 → DX 审查 → 汇总报告) | /costrict-autopilot <任务> | | /oh-my-costrict:costrict-team | 多智能体团队编排(规划 → 并行执行 → 审查 → 修复循环 → 验证) | /costrict-team <任务> |

开发流程

规划 → 设计 → TDD → 实现 → 审查 → 验证
  1. 规划 — 使用 oh-my-costrict:planner 分析需求、编写 PRD
  2. 设计 — 使用 oh-my-costrict:architect 审查架构方案
  3. TDD — 使用 oh-my-costrict:tdd-guide 引导测试驱动开发
  4. 实现 — 使用 oh-my-costrict:executor 编写代码
  5. 审查 — 使用 oh-my-costrict:reviewer 进行代码审查
  6. 验证 — 使用 oh-my-costrict:verifier 运行测试、检查覆盖率

运营原则

  • 委托优先 — 将专业化工作委托给最合适的代理
  • 证据优先 — 验证结果后再做最终声明
  • 最轻量路径 — 保持质量的前提下选择最简单的实现方式
  • 不重复造轮子 — 优先搜索和复用现有实现

项目结构

oh-my-costrict/
├── agents/              # 子代理定义 (markdown)
│   ├── architect.md
│   ├── executor.md
│   ├── planner.md
│   ├── reviewer.md
│   ├── tdd-guide.md
│   └── verifier.md
├── skills/              # 编排技能
│   ├── costrict-autopilot/
│   └── costrict-team/
├── hooks/               # 生命周期 Hook
│   ├── session-start.mjs
│   ├── keyword-detector.mjs
│   └── lib/
├── scripts/             # 诊断与验证工具
├── tests/               # Hook 和关键词检测测试
├── plugin.json          # CSC 插件配置
├── package.json         # NPM 包配置
└── CLAUDE.md            # 项目指令文件

验证要求

  • 所有测试通过
  • 覆盖率 ≥ 80%
  • 代码审查通过(无 CRITICAL/HIGH 问题)
  • Lint/类型检查通过

License

MIT