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.4.tar.gz (26.9 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.4-py3-none-any.whl (52.2 kB view details)

Uploaded Python 3

File details

Details for the file yjcli-0.0.4.tar.gz.

File metadata

  • Download URL: yjcli-0.0.4.tar.gz
  • Upload date:
  • Size: 26.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.5

File hashes

Hashes for yjcli-0.0.4.tar.gz
Algorithm Hash digest
SHA256 8a923ae0f543ec2b9042833a817b9fd3861d8ec29eee15417b61d7f8851c439a
MD5 e9f2dbf1834f1fdda3ccae4597f04286
BLAKE2b-256 e044853ec916de7a1088f1edf251ab3163aa75918fa0bf6deed7050aaeb9b5e8

See more details on using hashes here.

File details

Details for the file yjcli-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: yjcli-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 52.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.5

File hashes

Hashes for yjcli-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 417613f7b5888e348a9b2c5bfb14e643e83127190b09a95db5529e3288b4ed75
MD5 dcf3144fda51f1d0724e3d21e62cb46b
BLAKE2b-256 b8764677093d0997e2c6f60560f498440c76f823c83df868402600999ec918a2

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