Skip to content

Conversation

@dyoshikawa
Copy link
Contributor

@dyoshikawa dyoshikawa commented Jul 30, 2025

提案&実装です。

現状、導入やアップデートは手動のコピーしか手段がない(と思う)ため、インストール用のCLIを提案します。

CLIの使い心地を確認してもらえるように、暫定的にnpmレジストリに @dyoshikawa/tsumiki として登録しています。

# 使い方

# インストール
npx @dyoshikawa/tsumiki install

# アンインストール
npx @dyoshikawa/tsumiki uninstall

# .gitignoreにtsumikiコマンドを登録
npx @dyoshikawa/tsumiki gitignore

Node.jsを選定したのは以下の理由です。

  • Claude CodeもNode.js製なので、ランタイムを統一することで一緒に導入しやすくなる
    • 例: npm i -g @anthropic-ai/claude-code @classmethod/tsumiki
  • 社内にNode.js開発者が多いので、コミットしやすそう

dyoshikawa and others added 30 commits July 30, 2025 16:39
… command files

- Add new gitignore command to CLI with proper description
- Implement React+Ink based UI for gitignore command
- Read actual command files from commands/ directory and add specific file paths
- Add .claude/commands/{filename} rules instead of generic patterns
- Include error handling and user-friendly status messages
- Follow existing code patterns from install/uninstall commands

This prevents conflicts with user's own commands/ directory while only ignoring
Tsumiki-installed files in .claude/commands/

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
Co-authored-by: cm-dyoshikawa <[email protected]>
@cm-kuroeda cm-kuroeda merged commit 14f27bb into classmethod:main Jul 30, 2025
@dyoshikawa dyoshikawa deleted the add-install-command branch July 30, 2025 10:37
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.

3 participants