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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file zsc-0.1.4.tar.gz.
File metadata
- Download URL: zsc-0.1.4.tar.gz
- Upload date:
- Size: 26.4 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
755978802499153990f2371169b1bb6a4eea5058819f7c0740589162fdbb8fe7
|
|
| MD5 |
fddc3e9c14f1751e71b8d70d666b2920
|
|
| BLAKE2b-256 |
974e636f5c3315150c28d38aa325ca243eec90c710f30e2995b3870950d17012
|
File details
Details for the file zsc-0.1.4-py3-none-any.whl.
File metadata
- Download URL: zsc-0.1.4-py3-none-any.whl
- Upload date:
- Size: 31.8 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
681f78be9a0b783d46c5f8a0149818dda63f65bac87d82e9267bc27253df1a78
|
|
| MD5 |
4cb0a73b0cfd42000f92523563a951ac
|
|
| BLAKE2b-256 |
6170076f69f0224653b82e22cf33c9b52125ed27c94831e6223a5cc4e16a8475
|