Skip to main content

AI Agents-driven project task CLI for initializing .agents task structure and skills.

Project description

zsc

zsc 是一个面向多 IDE/AI Coding 工具的命令行工具,用于在项目中初始化统一的 AI Agents 任务体系。

核心能力:

  • 初始化 .agents 任务目录结构:创建 .agents/.agents/tasks/,作为项目级任务闭环与 TODO 的统一入口。
  • 为多种 AI Coding 工具安装 zsc-* 技能:除 zsc init 外,每个子命令对应一个技能(如 zsc-create-task 对应 zsc task new)。zsc init 会在 .cursor/skills/.codex/skills/.claudecode/skills/ 下按需安装这些技能,帮助各工具理解并维护任务体系。
  • 幂等执行:重复运行不会破坏已有结构或覆盖用户已有的技能文件。

安装

推荐使用 uv + python3

uv add zsc

或在本仓库中开发调试时,使用本地安装(示例):

uv pip install -e .

以上命令仅为示例,具体安装方式可根据你的环境和 uv 版本调整。

使用

在目标项目根目录中运行:

zsc init .

zsc init . 将会:

  • 创建 .agents/.agents/tasks/ 目录(若不存在)。
  • 创建以下 AI 工具技能目录(若不存在):
    • .cursor/skills/
    • .codex/skills/
    • .claudecode/skills/
  • 将打包在 zsc 中的各 zsc-* 技能复制到上述各技能目录中对应子目录:
    • .cursor/skills/zsc-help/SKILL.md(用法介绍,在 AI 环境中可触发如 /zsc-help 让 LLM 介绍 zsc 与各技能用法)
    • .cursor/skills/zsc-create-task/SKILL.md(对应 zsc task new
    • .cursor/skills/zsc-task-list/SKILL.md(对应 zsc task list
    • .cursor/skills/zsc-task-status/SKILL.md(对应 zsc task status
    • .codex/skills/.claudecode/skills/ 下同样按技能名安装。
    • 仅在目标位置不存在该文件时才写入,避免覆盖用户已有定制。

再次运行 zsc init . 时:

  • 已存在的目录将被检测并跳过。
  • 已存在的 SKILL.md 不会被覆盖,只会输出提示。

任务管理命令

zsc 提供了一组围绕 .agents/tasks 的任务管理子命令:

  • zsc task list:列出 .agents/tasks 下的任务及其基本状态(open/completed)。
  • zsc task new <feat_name> [path]:在指定项目根目录(默认为当前目录)下创建新的 task_{no}_{feat_name} 目录与同名文件 task_{no}_{feat_name}.md 模板(便于在编辑器中按名称快速打开)。
  • zsc task status:汇总 .agents/tasks 中任务的数量与状态,给出项目级任务健康度摘要。

配合 zsc init .,你可以先在项目中初始化任务体系,然后通过 zsc task 系列命令持续维护和浏览任务闭环。

说明:zsc task new 创建任务目录与同名 .md 模板。在 AI Coding 工具中触发 zsc-create-task 技能(如 Cursor 中 /zsc-create-task)时,若用户要求「创建新任务」,AI 会代为执行 zsc task new <feat_name> 或按模板创建目录与文件,并可根据需求意图帮你完善“闭环描述”和 TODO_LIST。若你此前使用过旧版技能名 zsc-new-task,请重新执行 zsc init . 以安装为 zsc-create-task

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zsc-0.1.2.tar.gz (26.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zsc-0.1.2-py3-none-any.whl (31.7 kB view details)

Uploaded Python 3

File details

Details for the file zsc-0.1.2.tar.gz.

File metadata

  • Download URL: zsc-0.1.2.tar.gz
  • Upload date:
  • Size: 26.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for zsc-0.1.2.tar.gz
Algorithm Hash digest
SHA256 6573a5260f581b690d068178505991bfa1e28e4742518f6a076cc59bc9910f3e
MD5 77cfb3a46ccb325f8ec53c20e072f544
BLAKE2b-256 ce3359b90cc81aecc165d671e22ff180e9fef5c03e3efc305f3bf3c46c41e56e

See more details on using hashes here.

File details

Details for the file zsc-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: zsc-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 31.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for zsc-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 297455d253c8a1d1868be911c9d0bbb8f8b1289ac4881795ae443dd58aa69d16
MD5 72cfe7d36efd3aa0991b53ba33750ca8
BLAKE2b-256 8e89cac452438873627bbc339abe9fb0ab2127eb8d848059bea02a79dc704f37

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page