@flydocs/cli

中文文档
1.3.46发布于 2026/11/09ES Module近 30 天下载 6396

Spec-driven development workflow: your agent works issues, sessions and the status lifecycle.

原始使用文档
文档目录11 节
  1. Install
  2. Quick Start
  3. Tiers
  4. What Gets Installed
  5. Commands
  6. CLI
  7. IDE (Claude Code / Cursor)
  8. Updating
  9. Guides
  10. Links
  11. License

FlyDocs Core

AI-assisted spec-driven development for your codebase. FlyDocs installs skills, workflows, and issue management directly into your project — works with Claude Code and Cursor.

Install

npm install -g @flydocs/cli

Beta releases:

npm install -g @flydocs/cli@beta

Alpha releases (internal testing):

npm install -g @flydocs/cli@alpha

Requires Node.js >= 18.17.0 and Python 3.8+ (for mechanism scripts).

Quick Start

# Install FlyDocs into your project
cd your-project
flydocs

# Open your IDE and run the guided setup
/onboard

# Start working
/start-session

Tiers

TierInstallBackend
Local (free)flydocs init --tier localFile-based issues in flydocs/issues/
Cloud (connected)flydocs init --tier cloudLinear via GraphQL API

flydocs runs init by default and prompts for tier if --tier is omitted. Local tier requires no accounts or API keys. Cloud tier signs you in with your browser (or run flydocs login first) and stores a key for this machine at ~/.flydocs/credentials.

On a headless machine, in CI, or over SSH, pass an existing key instead: flydocs login --with-key fdk_… (or set FLYDOCS_API_KEY). flydocs whoami shows who you're signed in as; flydocs logout revokes the key and removes it.

What Gets Installed

FlyDocs adds workflow infrastructure alongside your code:

ComponentLocationPurpose
Skills.claude/skills/Workflow, issue management, context graph
Commands.claude/commands/Slash commands (/capture, /activate, /implement, etc.)
Agents.claude/agents/Subagent definitions (PM, Implementation, QE, Research)
Contextflydocs/context/Project definition and priorities
Knowledgeflydocs/knowledge/Decisions, notes, product docs
Config.flydocs/Templates, hooks, version tracking

Commands

CLI

CommandPurpose
flydocsFresh install into current project
flydocs updateUpdate to latest version
flydocs loginSign in with your browser (cloud tier)
flydocs whoamiShow the signed-in account and key source
flydocs logoutRevoke this machine's key and remove it
flydocs streamRead the session records written at each wrap
flydocs worktree initCopy FlyDocs files into a new git worktree
flydocs --helpShow all options

IDE (Claude Code / Cursor)

CommandPurpose
/onboardGuided project onboarding
/start-sessionBegin a work session
/captureCreate a new issue
/activatePick up an issue to work on
/implementStart implementation
/reviewSubmit for code review
/wrap-sessionEnd session with summary

Updating

# Update FlyDocs in your project
flydocs update

# Force reinstall at same version
flydocs update --force

Updates replace framework files while preserving your project content, config, and issues.

Guides

GuideFor
Setting up the tool surfacewhat init and update write, and why
Managed permissionspermission modes and workspace policy
Troubleshootingorganised by flydocs doctor check IDs
WorktreesT3 Code and claude --worktree setup
Contributing operationsregistering a skill's script with flydocs run

License

Proprietary - All rights reserved.

版本与发布记录

@flydocs/cli 共发布 230 个版本,首次发布于 2026/02/20;过去 12 个月发布了 230 个版本。

版本发布日期距今
1.3.46latest2026/11/096 天前
1.3.452026/11/079 天前
1.3.442026/11/069 天前
1.3.432026/11/069 天前
1.3.422026/11/069 天前
1.3.412026/11/0610 天前

其他发布通道:beta → 0.5.0-beta.19,alpha → 0.6.0-alpha.113。

关于 @flydocs/cli 的常见问题

@flydocs/cli 是什么?

Spec-driven development workflow: your agent works issues, sessions and the status lifecycle.

如何安装 @flydocs/cli?

在项目目录运行 npm install @flydocs/cli,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 flydocs,可以用 npx flydocs 直接运行。

@flydocs/cli 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/flydocs__cli 是否存在。

@flydocs/cli 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@flydocs/cli 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=20。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@flydocs/cli 可以商用吗?

@flydocs/cli 使用 未声明 许可。package.json 没有声明许可证。没有许可证的代码默认保留全部权利,商用前请联系作者或查看仓库中的 LICENSE 文件。以上为概括,不构成法律意见,请以许可原文为准。

@flydocs/cli 的下载量有多少?

根据 npm 官方下载统计,@flydocs/cli 在 2026/10/15 – 2026/11/13 这 30 天内被下载 6,396 次,日均约 213 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@flydocs/cli 还在维护吗?

最新版本 1.3.46 发布于 2026/11/09(6 天前);至今共发布 230 个版本,其中过去 12 个月发布了 230 个;首次发布于 2026/02/20。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。