github-npm-ops
GitHub 仓库运营与 npm 发布原子能力;用于 issue/PR/CI/security 治理、release.yml 配置、npm provenance 发布、tag 发版、三端验证和失败恢复。
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
GitHub 仓库运营与 npm 发布原子能力;用于 issue/PR/CI/security 治理、release.yml 配置、npm provenance 发布、tag 发版、三端验证和失败恢复。
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Manage git submodules for the learning-open-code mono-repo. Use when the user wants to: (1) Add a new git submodule — auto-detect or specify the category (open-ai-skills/open-sdd/open-ai-agent/open-ai-desktop/open-knowledge/open-productivity/open-java/open-trading/open-data), record the tracking branch in .gitmodules, clone the repo, and update README.md index. (2) Sync all existing submodules to their configured branches (git fetch + checkout branch + pull). (3) Update the root README.md with an up-to-date index of all synced projects grouped by category. (4) Initialize submodules after git clone — when open-*/ directories are empty or git submodule status returns nothing, guide through the full SOP (git submodule update --init --recursive [--remote]). Trigger keywords: submodule, git submodule, 子模块, add submodule, sync submodule, update submodule, submodule branch, README index, 更新索引, clone, init, 初始化子模块, submodule init, 拉取子模块.
对开源项目进行穷尽式教学文档生成——从宏观架构到微观实现的五层分级讲解,使用 Goal Loop 算法自主驱动完整代码覆盖。所有具体教学内容生成必须激活 `.agents/skills/teach/SKILL.md`。触发条件:用户要求"完整学习某个项目"、"生成项目架构文档"、"从入口到落地讲清楚每个功能"、"代码考古"、"源码分析"、或指定一个项目目录/仓库要求全面教学。
使用并行子 agent 为模块生成多个截然不同的接口设计。当用户想要设计 API、探索接口选项、比较模块形态,或提到 "设计两次" 时使用。
交互式 QA 会话,用户以对话方式报告 bug 或问题,agent 将其录入 GitHub Issue。在后台探索代码库以获取上下文和领域语言。当用户想要报告 bug、做 QA、以对话方式录入 issue,或提及 "QA session" 时使用。
通过用户访谈创建包含微小提交的详细重构计划,并将其录入 GitHub Issue。当用户想要规划重构、创建重构 RFC,或将重构分解为安全的渐进步骤时使用。
从当前对话中提取 DDD 风格的通用语言词汇表,标记歧义并提出规范术语。保存到 UBIQUITOUS_LANGUAGE.md。当用户想要定义领域术语、构建词汇表、固化术语、创建通用语言,或提到 "领域模型" 或 "DDD" 时使用。
| id | github-npm-ops |
| type | skill |
| name | GitHub npm Ops |
| description | GitHub 仓库运营与 npm 发布原子能力;用于 issue/PR/CI/security 治理、release.yml 配置、npm provenance 发布、tag 发版、三端验证和失败恢复。 |
当 command 或 workflow 需要处理 GitHub 仓库运营、CI 排障、安全告警、npm 包发布、GitHub Release、release notes 注入、tag 触发发布或发布失败恢复时使用。
package.json、包名、版本、发布分支、是否 scoped.github/workflows/release.ymlCHANGELOG.md 或 CHANGELOGS.mdspeculo/.speculo/dev/docs-sync-state.json 与 docs-sync 报告gh auth、Node/包管理器、release.yml、tag 冲突、docs-sync state。../workflows/dev/D-docs-sync/D-docs-sync.md;本 skill 不自行选择持久化目录,只把结果交给调用方写入其声明的 speculo/.speculo/... 规范路径。npm view 版本与 dist-tag 一致。references/release-pipeline.md:执行正式 npm/GitHub release 编排时读取。references/preflight-checklist.md:发布前只读检查或 dry-run 时读取。references/publish-detection.md:判断 release workflow 是否实际发布 npm 包时读取。references/package-json-checklist.md:检查 npm 包元数据、bin、files、provenance 相关字段时读取。references/setup-npm-token.md:配置或排查 NPM_TOKEN、2FA bypass、scope 权限时读取。references/workflow-yaml-reference.md:创建或修复 .github/workflows/release.yml 时读取。references/release-notes-injection.md:Release 正文为空、需要从 CHANGELOG 注入 release notes 时读取。references/version-bump-flow.md:执行版本 bump、release commit、tag、push 时读取。references/failure-recovery.md:发布编排失败、需要判断是否能重试同 tag 时读取。references/troubleshooting-playbook.md:npm/GitHub Actions 具体错误码排障时读取。references/issue-pr-triage.md:issue / PR 分诊、标签、社区响应时读取。references/ci-and-security-ops.md:CI 失败、安全告警、Dependabot / secret scanning 处理时读取。