Skip to main content

CLI-based AI development framework

Project description

solar-circuit-v2

CI Codecov Coverage PyPI version License

“Markdown 1 枚 × 最小コマンド” で AI 主導開発を完遂する CLI ワークフロー Python 3.12|Typer|GitHub Actions|pytest+coverage|OS Keyring


🎯 目的・ゴール

  • ソロ開発者向け に、Markdown+CLI だけで日々の開発ワークフローを完結
  • MVPinitnewsavefinish の 4 コマンドで基本サイクルを実現
  • 拡張ロードマップ に基づき、今後もコマンドを追加予定

🚀 特徴

  • シンプルなプロジェクト初期化sc init でテンプレート一式を展開
  • Work Order 自動管理sc new で作業票を自動採番&Markdown生成
  • 開発メモ追記sc save で日付ヘッダー付きに統一ファイルへ記録
  • ステータス可視化sc status でメモ/未完了 WO/添付・出力ファイルを一覧
  • 作業指示書一覧sc list で既存 WO をテーブル表示
  • ファイル添付sc attach で資料や成果物を attachments/outbound に整理
  • CLI 完結:Gemini API 鍵は OS Keyring に安全保存
  • テストカバレッジ:pytest+coverage ≥80%
  • CI:GitHub Actions で lint/pytest/coverage/(将来的に markdownlint)自動チェック

📦 インストール

# Python 3.12 を用意
git clone https://github.com/seishinshigo/solar_circuit_v2.git
cd solar_circuit_v2
python -m venv .venv
source .venv/bin/activate

# 本体インストール
pip install -e .

# 開発用(テスト・lint)を整える場合
pip install -e .[dev]

📸 コマンドリファレンス(実行例)

Solar Circuit CLI の各コマンド操作を VSCode ターミナル上で実行した様子 (newsave → 不正 → 対象ファイル無し → list など、一連の典型的操作のデモ)

スクリーンショット


sc init

sc init

プロジェクトの雛形をカレントディレクトリにコピーします。 .sc/, work_orders/, attachments/, outbound/ などを生成。


sc new [--id <ID>]

sc new
sc new --id WO-20250713-005

新しい Work Order を作成します。 ID は自動または手動で指定可能。


sc save

sc save

dev_memory.md に今日のメモを追記します。エディタが立ち上がり、編集内容が保存されます。


sc attach [--name <NAME>] <ファイルパス>

sc attach report.pdf
sc attach --name summary.docx path/to/file.docx

ファイルを attachments/ にコピーします。


sc outbound [--name <NAME>] <ファイルパス>

sc outbound data.csv

ファイルを outbound/ ディレクトリにコピーします。


sc status

sc status

以下の情報を一覧表示します:

  • Today’s Memory(最新メモ)
  • Open Work Orders
  • Attachments / Outbound のファイル数と容量

sc list [--open] [--closed]

sc list
sc list --open
sc list --closed

作業指示書(WO)をテーブル形式で一覧表示します。オプションで絞り込み可能。


sc version

sc version
# → solar-circuit-v2 version 0.1.x

CLI のバージョンを表示します。


sc help

sc help
sc <command> --help

各コマンドのヘルプを表示します。


✅ Quickstart

pip install solar-circuit-v2
mkdir my-solar-project
cd my-solar-project
sc init
sc new
sc save
sc status
sc list

This project is licensed under the MIT License.

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

solar_circuit-0.1.3.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

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

solar_circuit-0.1.3-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file solar_circuit-0.1.3.tar.gz.

File metadata

  • Download URL: solar_circuit-0.1.3.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for solar_circuit-0.1.3.tar.gz
Algorithm Hash digest
SHA256 138a524609a01fdad406ae73481a29ded822db64a7184b361017a89803729bae
MD5 300fdd07fa47a8e5b1b6352ed5b3f4ce
BLAKE2b-256 bd0ea39c531cd3abfe436a64c9f6055b5f9723a8793bad5752820d7a72a5acba

See more details on using hashes here.

File details

Details for the file solar_circuit-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: solar_circuit-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for solar_circuit-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 5e341d37b24a6966374c7f294dfef4f1b88cd6591432ee31b0683ef11a9ebd00
MD5 8791693e54dc3475446549dc3ec34148
BLAKE2b-256 1eac0fadb101c185395a3d47b7d228f868fe75763fac9f588c38237ba46409b2

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