Skip to content

Conversation

@unagi
Copy link
Owner

@unagi unagi commented Jan 8, 2026

Summary

CLIユーザー向けのワンライナー導入スクリプトを実装し、ディレクトリ名を skill/ から jtr-generator/ に変更しました。

主な変更

  1. ディレクトリ名変更: skill/jtr-generator/

    • Agent Skills公式仕様に準拠(<skill_name> ディレクトリ推奨)
    • CI/CD、pyproject.toml、ドキュメント、テストの全参照を更新
  2. install.sh 実装

    • GitHub Releases APIから最新バージョンを自動取得
    • 複数エージェント対応(Claude Code, Codex, Gemini)
    • 一括インストール機能
    • バージョン管理とアップデート検出
    • バックアップ付き上書きインストール
    • セキュリティ対策(HTTPS強制、zip爆弾対策)
  3. ドキュメント更新

    • README.md にワンライナーインストール手順を追加
    • 全ドキュメントのパス参照を更新

使い方

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/unagi/jtr-generator/main/install.sh)"

テスト結果

  • ✅ 209 passed, 1 skipped
  • ✅ カバレッジ: 90.38%(要件80%を大幅に超過)
  • ✅ 全品質チェック(lint, format, typecheck)をパス

Test plan

  • uv run poe check-all が成功
  • 全テストがパス(209個)
  • カバレッジ90.38%達成
  • ディレクトリ名変更後のビルド確認

🤖 Generated with Claude Code

unagi and others added 4 commits January 8, 2026 09:09
- スキル名に合わせてディレクトリ名を統一
- Agent Skills公式仕様では<skill_name>ディレクトリ推奨
- .github/workflows/release.yml を更新
- pyproject.toml 内の全ての参照を更新

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
- install.sh を追加(Claude Code, Codex, Gemini 対応)
- 複数エージェントへの一括インストール機能
- バージョン管理とアップデート検出
- README.md にワンライナーインストール手順を追加
- 全ドキュメントの skill/ 参照を jtr-generator/ に更新

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
- conftest.py で sys.path を調整
- skill.scripts.jtr → jtr にインポートパスを変更
- test_package_artifact.py のパス参照を更新
- schema_path フィクスチャを更新

185/210 テストがパス、カバレッジ 88.67%

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
- 全てのパス参照を jtr-generator に更新
- patch文とmonkeypatchのモジュール参照を修正
- コードフォーマットを適用

テスト結果: 209 passed, 1 skipped
カバレッジ: 90.38%

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
@codecov
Copy link

codecov bot commented Jan 8, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.90%. Comparing base (acdd4aa) to head (88cd18c).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #31      +/-   ##
==========================================
- Coverage   90.96%   90.90%   -0.06%     
==========================================
  Files          22       22              
  Lines        1936     1936              
==========================================
- Hits         1761     1760       -1     
- Misses        175      176       +1     
Flag Coverage Δ
unittests 90.90% <100.00%> (-0.06%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

- sonar-project.properties: skill,tools → jtr-generator,tools
- DEVELOPMENT.md: import path修正
- tools/README.md: パス参照修正
- docs/testing.md: coverage パス修正
- docs/development/ci-configuration.md: sonar設定修正
- tests/fixtures/a4_text_anchors.json: パス参照修正

すべてのテスト: 209 passed, 1 skipped
カバレッジ: 90.38%

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
@sonarqubecloud
Copy link

sonarqubecloud bot commented Jan 8, 2026

@unagi unagi merged commit b23257b into main Jan 8, 2026
4 checks passed
@unagi unagi deleted the feature/cli-installer-and-directory-rename branch January 8, 2026 01:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants