mirror of
https://github.com/affaan-m/ECC.git
synced 2026-08-20 06:25:43 +02:00
* fix(ci): resync lockfiles with package.json (eslint 10) + migrate yarn.lock to Yarn 4 format package.json requires eslint@^10.6.0 but the committed locks pinned 9.39.2, so npm ci aborted and Yarn 4 hardened mode rejected the stale v1-classic yarn.lock (YN0028). Regenerate package-lock.json and rewrite yarn.lock in Yarn 4 (berry) format so npm ci and immutable yarn installs both pass. Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * fix(ci): require clean probe exit for Windows shell/bash detection; add pyyaml dev dep Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * refactor: consolidate duplicated hook-root resolver into shared resolveEccRoot() (#2368) The inline node -e resolver blob was duplicated ~60x across hooks.json, command docs, and translations. Each copy inlined the full ~700-char plugin-root search using a spread over nested array literals (p.join(d,'plugins',...s) over [['ecc'],...]), which breaks Windows hook execution due to shell quoting (#2368). Collapse every copy to a 250-char locator that loads the committed resolve-ecc-root module and delegates to resolveEccRoot() — no spread, no nested array literals, no escaped double quotes. The real search logic now lives in one tested module. Also route session-start-bootstrap.js through resolveEccRoot() instead of its own duplicated reimplementation, and fix the auto-update.md 'marketplace' (singular) typo along the way. Guard tests updated: discovery behavior is asserted against resolveEccRoot(); the inline is asserted to delegate and to contain no Windows-fragile constructs. Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * fix(resolve-ecc-root): restore full env-unset discovery in inline resolver Address Greptile review on #2410: when CLAUDE_PLUGIN_ROOT is unset the delegating inline could only load the resolver module from ~/.claude, returning ~/.claude without ever reaching the plugin/cache search. Restore the old inline's discovery breadth (exact plugin roots + versioned cache) Windows-safely (no spread, nested arrays, or escaped quotes), then delegate the authoritative decision to resolveEccRoot(). Add regression tests for plugin-subdir and versioned-cache bootstrap with env unset. Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --------- Co-authored-by: affaan <affaan@itomarkets.com> Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
コマンド
コマンドはスラッシュ(/command-name)で起動するユーザー起動アクションです。有用なワークフローと開発タスクを実行します。
コマンドカテゴリ
ビルド & エラー修正
/build-fix- ビルドエラーを修正/go-build- Go ビルドエラーを解決/go-test- Go テストを実行
コード品質
/code-review- コード変更をレビュー/python-review- Python コードをレビュー/go-review- Go コードをレビュー
テスト & 検証
/tdd- テスト駆動開発ワークフロー/e2e- E2E テストを実行/test-coverage- テストカバレッジを確認/verify- 実装を検証
計画 & 実装
/plan- 機能実装計画を作成/skill-create- 新しいスキルを作成/multi-*- マルチプロジェクト ワークフロー
ドキュメント
/update-docs- ドキュメントを更新/update-codemaps- Codemap を更新
開発 & デプロイ
/checkpoint- 実装チェックポイント/evolve- 機能を進化/learn- プロジェクトについて学ぶ/orchestrate- ワークフロー調整/pm2- PM2 デプロイメント管理/setup-pm- PM2 を設定/sessions- セッション管理
インスティンク機能
/instinct-import- インスティンク をインポート/instinct-export- インスティンク をエクスポート/instinct-status- インスティンク ステータス
コマンド実行
Claude Code でコマンドを実行:
/plan
/tdd
/code-review
/build-fix
または AI エージェントから:
ユーザー:「新しい機能を計画して」
Claude:実行 → `/plan` コマンド
よく使うコマンド
開発ワークフロー
/plan- 実装計画を作成/tdd- テストを書いて機能を実装/code-review- コード品質をレビュー/build-fix- ビルドエラーを修正/e2e- E2E テストを実行/update-docs- ドキュメントを更新
デバッグワークフロー
/verify- 実装を検証/code-review- 品質をチェック/build-fix- エラーを修正/test-coverage- カバレッジを確認
カスタムコマンドを追加
カスタムコマンドを作成するには:
commands/に.mdファイルを作成- Frontmatter を追加:
---
description: Brief description shown in /help
---
# Command Name
## Purpose
What this command does.
## Usage
\`\`\`
/command-name [args]
\`\`\`
## Workflow
1. Step 1
2. Step 2
3. Step 3
覚えておいてください:コマンドはワークフローを自動化し、繰り返しタスクを簡素化します。チームの一般的なパターンに対する新しいコマンドを作成することをお勧めします。