Metadata-Version: 2.4
Name: yjcli
Version: 0.0.1
Summary: Scaffold platforms, services, and AI agent wiring (Cursor/Claude) for YJ architecture repos.
Project-URL: Homepage, https://github.com/yseiren87/yjcli
Project-URL: Repository, https://github.com/yseiren87/yjcli
Project-URL: Issues, https://github.com/yseiren87/yjcli/issues
Author: yseiren87
License-Expression: MIT
License-File: LICENSE
Keywords: agent,claude,cli,cursor,scaffold
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Software Development :: Code Generators
Classifier: Topic :: Utilities
Requires-Python: >=3.12
Requires-Dist: typer>=0.12
Description-Content-Type: text/markdown

# 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

```bash
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).

```bash
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

```bash
# 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.
