Skip to main content

Scaffold platforms, services, and AI agent wiring (Cursor/Claude) for YJ architecture repos.

Project description

yjcli

Self-contained CLI (uv + pyproject.toml) that scaffolds YJ platform folders, services, and Cursor/Claude agent wiring.

All templates, skills, and rules ship inside the package (src/yjcli/data/).

Develop

cd yjcli
uv sync
uv run yjcli --help

Test / Publish (workspace root)

Sibling tools/ holds smoke-test and publish helpers (not committed with this package).

make test                            # tools/test_yjcli.py smoke checks

# edit tools/.env
UV_PUBLISH_TOKEN=pypi-...        # https://pypi.org/manage/account/token/
# UV_PUBLISH_TOKEN_TEST=pypi-... # optional TestPyPI token

make build
make clean
make deploy-dry / deploy-test-dry   # uv publish --dry-run
make deploy-test                    # TestPyPI
make deploy                         # PyPI

Package version is set in pyproject.toml / src/yjcli/__init__.py.

Commands

# Bootstrap current directory: AGENTS.md/CLAUDE.md, .cursor/.claude skills+rules,
# root Makefile/.gitignore, then create selected platform roots.
uv run yjcli init
uv run yjcli init --all
uv run yjcli init -p backend -p frontend

uv run yjcli add platform              # interactive: add missing platforms
uv run yjcli add platform --all
uv run yjcli add platform -p cli

uv run yjcli add service               # interactive
uv run yjcli add service -p backend -n api

uv run yjcli doctor                    # packaged asset sanity check
uv run yjcli --version

Agent assets are copied from the package into the target repo (no .agent folder). Re-run yjcli init --force (or answer overwrite prompts) to refresh skills/rules.

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.1.tar.gz (23.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.1-py3-none-any.whl (46.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for yjcli-0.0.1.tar.gz
Algorithm Hash digest
SHA256 6305ef006b9f8a565a04d5c939065989fe89241ede0167dd3b5e57ad0ce2ab38
MD5 2f05227567b00a4f9df9bb63ad95cdaf
BLAKE2b-256 73ccf7f3691a2afb86676ffb976feefbafbb5c4a088933456006f62ef8eb915d

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for yjcli-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 84124aff7ca8ac504edccdb9337ba8a2f18f36086adbe3cc826bfd915125358b
MD5 a01b06d82d44ce23e701ba3ee1f00f11
BLAKE2b-256 41d43e374a6b61d91b58f18f936d74aeef3258442984a80e521e527eee485fea

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