Skip to main content

cli-development

Use when working on the @insforge/cli codebase itself — adding or modifying commands under src/commands/, touching src/lib/api or src/lib/analytics, changing package.json version, wiring telemetry, or preparing an npm release. Covers code conventions, PostHog analytics, agent-skills sync, and the release-triggered publish workflow.

跳到安装

来源信息

仓库
InsForge/CLI
最近来源活动
2026年7月11日 20:11
检测到的 SKILL.md 语言
英语
星标
21
分支
19

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
cli-development
description
Use when working on the @insforge/cli codebase itself — adding or modifying commands under src/commands/, touching src/lib/api or src/lib/analytics, changing package.json version, wiring telemetry, or preparing an npm release. Covers code conventions, PostHog analytics, agent-skills sync, and the release-triggered publish workflow.
license
Apache-2.0
metadata
{"organization":"InsForge"}
# InsForge CLI Development See the canonical development guide at [DEVELOPMENT.md](../../../DEVELOPMENT.md) in the repo root. It covers: 1. **Existing code patterns** — command layout, API clients, config, errors, output, prompts, ESM imports. 2. **PostHog analytics** — `src/lib/analytics.ts`, event naming, distinct ID, property allow-list, flushing in `finally`, build-time key injection. 3. **Agent-skills sync** — when to update the `InsForge/agent-skills` repo alongside CLI command changes. 4. **Release workflow** — version bump → merge → publish a GitHub Release for `vX.Y.Z` → GitHub Actions publishes to npm. Always read `DEVELOPMENT.md` before editing files under `src/`, touching `package.json` version, or shipping a release.
在 GitHub 查看