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, rules, and root make files 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.5
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
yjcli service add -p backend -n api
# edit AGENTS.md, then:
yjcli sync agents
make backend # start all backend services
make backend NAME=api # start one service
Platforms
Use with -t / --type (repeatable on init / platform add):
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 (
*/scripts/run.sh/run.bat)
Run (make)
Platform targets are discovered from */scripts/run.sh (after init / platform add).
make <platform> # all services under that platform (concurrent)
make <platform> NAME=<service> # one service
make help
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 make |
Overwrite root Makefile / make.bat and each installed platform’s scripts/run.sh · run.bat |
yjcli sync all |
After upgrading yjcli — agents + skills + rules + make (+ platform run scripts) |
Edit AGENTS.md only; do not edit CLAUDE.md by hand.
Options
--type/-t— platform type (backend,frontend, …) oninit/platform add.--platform/-p— existing platform root onservice add.--name/-n— service/app name onservice add.--path <dir>— target repo root (default: current directory).--force/-f— overwrite existing root/agent files without prompting (initonly).
Notes
platform addonly creates platform roots (no services, no skills/rules/Makefile — useservice add/sync).service addneeds the platform root first (initorplatform add).- Non-interactive: pass
-t/--all/-p/-nas needed. doctorchecks the installed package assets, not your target repo.
Commands
yjcli init
yjcli init --all
yjcli init -t backend -t frontend
yjcli init --force
yjcli platform add
yjcli platform add --all
yjcli platform add -t cli
yjcli service add
yjcli service add -p backend -n api
yjcli sync agents
yjcli sync skills
yjcli sync rules
yjcli sync make
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.7.tar.gz.
File metadata
- Download URL: yjcli-0.0.7.tar.gz
- Upload date:
- Size: 28.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da35a10094bfb7e4663aecf394b30e2e7751beed5feb839c21db883ba54e44e6
|
|
| MD5 |
9e95529fb2bc270acb88869e5c8f98d3
|
|
| BLAKE2b-256 |
8a2c99de56a7ea8afc079b2875e0bca5598fc8fe77a32860751a4c5d182cc257
|
File details
Details for the file yjcli-0.0.7-py3-none-any.whl.
File metadata
- Download URL: yjcli-0.0.7-py3-none-any.whl
- Upload date:
- Size: 51.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dd946d79b595c2908229266bc536afa4d7c1fa0d2b6dc6c0420dbabd6820ebd6
|
|
| MD5 |
a51e2fa6f5548e3f7c137c47a4689649
|
|
| BLAKE2b-256 |
cbb569dad8359d7dbc63c9e09e162d815d49c5244dd6d72544ba2b43c9a6aefa
|