Token导航 LogoToken导航TokenDH.com
前端设计执行命令github未标认证来源可访问许可证需确认审计通过

system-create-cli系统 create CLI

Agent Skill

system-create-cli 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

447

周安装

19

GitHub Stars

2

下载量

157
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:system-create-cli(系统 create CLI)
来源仓库:https://github.com/multicam/qara
仓库路径:skills/system-create-cli
安装命令:
npx skills add https://github.com/multicam/qara --skill system-create-cli
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/multicam/qara --skill system-create-cli

简介

system-create-cli 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态、代码变更或协作事项进行整理时使用。

  • 适用于 CLI 工具开发与协作流程管理,可结合原始 README 验证功能细节。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装,需确认权限范围和维护状态。
  • 安装前建议确认是否会触发联网、命令执行或文件读写等操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

system-create-cli

Automated CLI Generation System

Generate production-ready TypeScript CLIs with comprehensive documentation, type safety, error handling, and PAI's CLI-First Architecture principles.


WORKFLOW ROUTING (SYSTEM PROMPT)

When user requests CLI creation, follow this routing:

Primary Workflow: Create New CLI

Triggers: "create CLI", "build command-line tool", "make CLI for X", "generate CLI" Route to: workflows/create-cli.md Action: Generate complete CLI from requirements

Extension Workflow: Add Command

Triggers: "add command to CLI", "extend CLI with", "add feature to existing CLI" Route to: workflows/add-command.md Action: Add new command to existing CLI

Migration Workflow: Upgrade Complexity Tier

Triggers: "upgrade CLI", "migrate to Commander", "CLI needs more complexity" Route to: workflows/upgrade-tier.md Action: Migrate Tier 1 → Tier 2 (manual → Commander.js)

Testing Workflow: Add Test Suite

Triggers: "add tests to CLI", "test scaffolding", "need CLI tests" Route to: workflows/add-testing.md Action: Generate comprehensive test suite

Distribution Workflow: Setup Publishing

Triggers: "publish CLI", "distribute CLI", "make standalone binary" Route to: workflows/setup-distribution.md Action: Configure npm publishing or binary distribution


WHEN TO ACTIVATE THIS SKILL

Activate when you see these patterns:

Direct Requests

  • "Create a CLI for [API/service/tool]"
  • "Build a command-line interface for X"
  • "Make a CLI that does Y"
  • "Generate a TypeScript CLI"
  • "I need a CLI tool for Z"

Context Clues

  • User describes repetitive API calls → Suggest CLI
  • User mentions "I keep typing this command" → Suggest CLI wrapper
  • User has bash script doing complex work → Suggest TypeScript CLI replacement
  • User working with API that lacks official CLI → Suggest creating one

Examples

  • ✅ "Create a CLI for the GitHub API"
  • ✅ "Build a command-line tool to process CSV files"
  • ✅ "Make a CLI for my database migrations"
  • ✅ "Generate a CLI that wraps this API"
  • ✅ "I need a tool like llcli but for Notion API"

CORE CAPABILITIES

Three-Tier Template System

Tier 1: llcli-Style (DEFAULT - 80% of use cases)

  • Manual argument parsing (process.argv)
  • Zero framework dependencies
  • Bun + TypeScript
  • Type-safe interfaces
  • ~300-400 lines total
  • Perfect for: API clients, data transformers, simple automation

When to use Tier 1:

  • ✅ 2-10 commands
  • ✅ Simple arguments (flags, values)
  • ✅ JSON output
  • ✅ No subcommands
  • ✅ Fast development

Tier 2: Commander.js (ESCALATION - 15% of use cases)

  • Framework-based parsing
  • Subcommands + nested options
  • Auto-generated help
  • Plugin-ready
  • Perfect for: Complex multi-command tools

When to use Tier 2:

  • ❌ 10+ commands needing grouping
  • ❌ Complex nested options
  • ❌ Plugin architecture
  • ❌ Multiple output formats

Tier 3: oclif (REFERENCE ONLY - 5% of use cases)

  • Documentation only (no templates)
  • Enterprise-grade plugin systems
  • Perfect for: Heroku CLI, Salesforce CLI scale (rare)

READ: references/tier-comparison.md for detailed framework comparison, performance metrics, and migration paths

What Every Generated CLI Includes

1. Complete Implementation

  • TypeScript source with full type safety
  • All commands functional and tested
  • Error handling with proper exit codes
  • Configuration management

2. Comprehensive Documentation

  • README.md with philosophy, usage, examples
  • QUICKSTART.md for common patterns
  • Inline help text (--help)
  • API response documentation

3. Development Setup

  • package.json (Bun configuration)
  • tsconfig.json (strict mode)
  • .env.example (configuration template)
  • File permissions configured

4. Quality Standards

  • Type-safe throughout
  • Deterministic output (JSON)
  • Composable (pipes to jq, grep)
  • Error messages with context
  • Exit code compliance

INTEGRATION WITH QARA

Technology Stack Alignment

Generated CLIs follow PAI's standards:

  • Runtime: Bun (NOT Node.js)
  • Language: TypeScript (NOT JavaScript or Python)
  • Package Manager: Bun (NOT npm/yarn/pnpm)
  • Testing: bun test (when tests added)
  • Output: Deterministic JSON (composable)
  • Documentation: README + QUICKSTART (llcli pattern)

Repository Placement

Generated CLIs go to:

  • ${PAI_DIR}/bin/[cli-name]/ - Personal CLIs (like llcli)
  • ~/Projects/[project-name]/ - Project-specific CLIs
  • ~/Projects/PAI/examples/clis/ - Example CLIs (PUBLIC repo)

SAFETY: Always verify repository location before git operations

CLI-First Architecture Principles

Every generated CLI follows:

  1. Deterministic - Same input → Same output
  2. Clean - Single responsibility
  3. Composable - JSON output pipes to other tools
  4. Documented - Comprehensive help and examples
  5. Testable - Predictable behavior

EXTENDED CONTEXT

For detailed information, read these files:

Workflow Documentation

  • workflows/create-cli.md - Main CLI generation workflow (decision tree, 10-step process)
  • workflows/add-command.md - Add commands to existing CLIs
  • workflows/upgrade-tier.md - Migrate simple → complex
  • workflows/add-testing.md - Test suite generation
  • workflows/setup-distribution.md - Publishing configuration

Reference Documentation

READ: references/tier-comparison.md for comprehensive framework comparison including:

  • Detailed feature comparison (Tier 1 vs 2 vs 3)
  • Performance metrics (startup time, memory usage)
  • Migration paths between tiers
  • Decision algorithm for tier selection
  • Real-world examples and recommendations

READ: references/cli-examples-basic.md and references/cli-examples-advanced.md for 6 complete examples covering:

  • API clients (GitHub, Notion)
  • File processors (markdown, CSV)
  • Data pipelines (complex workflows)
  • Database operations (PostgreSQL)
  • Common patterns and testing approaches
  • Documentation templates

PHILOSOPHY

Why This Skill Exists

User repeatedly creates CLIs for APIs and tools. Each time:

  1. Starts with bash script
  2. Realizes it needs error handling
  3. Realizes it needs help text
  4. Realizes it needs type safety
  5. Rewrites in TypeScript
  6. Adds documentation
  7. Now has production CLI

This skill automates steps 1-7.

The llcli Pattern

The llcli CLI (Limitless.ai API) proves this pattern works:

  • 327 lines of TypeScript
  • Zero dependencies (no framework)
  • Complete error handling
  • Comprehensive documentation
  • Production-ready immediately

This skill replicates that success.

Design Principles

  1. Start Simple - Default to Tier 1 (llcli-style)
  2. Escalate When Needed - Tier 2 only when justified
  3. Complete, Not Scaffold - Every CLI is production-ready
  4. Documentation First - README explains "why" not just "how"
  5. Type Safety - TypeScript strict mode always

QUALITY STANDARDS

Every generated CLI must pass these gates:

1. Compilation

  • ✅ TypeScript compiles with zero errors
  • ✅ Strict mode enabled
  • ✅ No any types except justified

2. Functionality

  • ✅ All commands work as specified
  • ✅ Error handling comprehensive
  • ✅ Exit codes correct (0 success, 1 error)

3. Documentation

  • ✅ README explains philosophy and usage
  • ✅ QUICKSTART has common examples
  • ✅ --help text comprehensive
  • ✅ All flags/options documented

4. Code Quality

  • ✅ Type-safe throughout
  • ✅ Clean function separation
  • ✅ Error messages actionable
  • ✅ Configuration externalized

5. Integration

  • ✅ Follows PAI tech stack (Bun, TypeScript)
  • ✅ CLI-First Architecture principles
  • ✅ Deterministic output (JSON)
  • ✅ Composable with other tools


This skill turns "I need a CLI for X" into production-ready tools in minutes, following proven patterns from llcli and PAI's CLI-First Architecture.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.31%
按下载量换算52

Claude

30.62%
按下载量换算48

Cursor

18.24%
按下载量换算29

Gemini CLI

10.1%
按下载量换算16

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/multicam/qara --skill system-create-cli 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills