Scaffold platforms, services, and AI agent wiring (Cursor/Claude) for YJ architecture repos.
Project description
yjcli
CLI that scaffolds YJ platform folders, services, and Cursor/Claude agent wiring.
Templates, skills, and rules ship inside the package and are copied into the target repo.
Install
uv tool install yjcli
# pin a version:
uv tool install yjcli==0.0.3
yjcli --version
yjcli -h
Upgrade / remove:
uv tool upgrade yjcli
uv tool uninstall yjcli
Quick start
uv tool install yjcli
cd /path/to/your-repo
yjcli init --all
# edit AGENTS.md, then:
yjcli sync agents
Platforms
Use with -p / --platform (repeatable):
backend · backend-service · frontend · mobile-app · pc-app · cli · browser-extension
What init creates
AGENTS.md,CLAUDE.md(mirror ofAGENTS.md).cursor//.claude/skills, rules, and Claudesettings.json- Root
Makefile,make.bat,TOOLS.md,.gitignore - Selected platform roots (and shared
scripts/helpers)
Sync
| Command | When |
|---|---|
yjcli sync agents |
After editing AGENTS.md — refreshes CLAUDE.md |
yjcli sync skills |
Refresh packaged skills only |
yjcli sync rules |
Refresh packaged rules only |
yjcli sync all |
After upgrading yjcli — agents + skills + rules |
Edit AGENTS.md only; do not edit CLAUDE.md by hand.
Options
--path <dir>— target repo root (default: current directory). Works oninit,add,sync.--force/-f— overwrite existing root/agent files without prompting (init,add).
Notes
add serviceneeds the platform root first (initoradd platform).- Non-interactive use requires flags (
-p/-n/--all, etc.); omit them only in a TTY prompt. doctorchecks the installed package assets, not your target repo.
Commands
yjcli init
yjcli init --all
yjcli init -p backend -p frontend
yjcli init --force
yjcli add platform
yjcli add platform --all
yjcli add platform -p cli
yjcli add service
yjcli add service -p backend -n api
yjcli sync agents
yjcli sync skills
yjcli sync rules
yjcli sync all
yjcli doctor
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 yjcli-0.0.5.tar.gz.
File metadata
- Download URL: yjcli-0.0.5.tar.gz
- Upload date:
- Size: 27.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b1f6a3b28ce5cc78b7fe57bbdb8750bfe307f7879e59157fcc612382ac7e3c45
|
|
| MD5 |
43ec75e23ecbf82fbd7940964751f77f
|
|
| BLAKE2b-256 |
8b45602bbb5a764bae85797ca28c7151fb53cd0e64ad75806e5fb166aaf1e507
|
File details
Details for the file yjcli-0.0.5-py3-none-any.whl.
File metadata
- Download URL: yjcli-0.0.5-py3-none-any.whl
- Upload date:
- Size: 52.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1fae329a264989141e84619389bcf4056141cb32ccf41eac2961ea8414b51488
|
|
| MD5 |
2c044634602b8e99e83f28273fd16382
|
|
| BLAKE2b-256 |
4339e49a6cd0a8789a0e58d068c784d901fcfe1a1f724e7eacb70c1f65595bc5
|