Skip to main content

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 of AGENTS.md)
  • .cursor/ / .claude/ skills, rules, and Claude settings.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 on init, add, sync.
  • --force / -f — overwrite existing root/agent files without prompting (init, add).

Notes

  • add service needs the platform root first (init or add platform).
  • Non-interactive use requires flags (-p / -n / --all, etc.); omit them only in a TTY prompt.
  • doctor checks 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


Download files

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

Source Distribution

yjcli-0.0.5.tar.gz (27.1 kB view details)

Uploaded Source

Built Distribution

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

yjcli-0.0.5-py3-none-any.whl (52.4 kB view details)

Uploaded Python 3

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

Hashes for yjcli-0.0.5.tar.gz
Algorithm Hash digest
SHA256 b1f6a3b28ce5cc78b7fe57bbdb8750bfe307f7879e59157fcc612382ac7e3c45
MD5 43ec75e23ecbf82fbd7940964751f77f
BLAKE2b-256 8b45602bbb5a764bae85797ca28c7151fb53cd0e64ad75806e5fb166aaf1e507

See more details on using hashes here.

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

Hashes for yjcli-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 1fae329a264989141e84619389bcf4056141cb32ccf41eac2961ea8414b51488
MD5 2c044634602b8e99e83f28273fd16382
BLAKE2b-256 4339e49a6cd0a8789a0e58d068c784d901fcfe1a1f724e7eacb70c1f65595bc5

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