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-new-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-new-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-new-task 技能(如 Cursor 中 /zsc-new-task)时,若用户要求「创建新任务」,AI 会代为执行 zsc task new <feat_name> 或按模板创建目录与文件,并可根据需求意图帮你完善“闭环描述”和 TODO_LIST

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.1.tar.gz (25.5 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.1-py3-none-any.whl (31.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: zsc-0.1.1.tar.gz
  • Upload date:
  • Size: 25.5 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.1.tar.gz
Algorithm Hash digest
SHA256 33f1919ebc5e6c0a376dbfbb6f3b0e6fe59c404cf1af2ef5ce5b3e122d8f4e85
MD5 4f54f1c55f98a7e7b3d301306c78376e
BLAKE2b-256 eb93ec497de869e306bb29117b854cc7b0da5c828bacf443292c7702eca4f4f1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zsc-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 31.0 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0b2ea8a2bbf6df1e3837b689f30bf628f7a7ca9574e319700dafcdc888e344a5
MD5 e90d052820d760d1f35d212cef74de73
BLAKE2b-256 23c8d0321815f4841ace0979c7f7a5e65751d2640555ff6937e9e1e5e8eacee7

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