docs: use canonical plugin command namespace

This commit is contained in:
Affaan Mustafa 2026-04-30 03:04:15 -04:00 committed by Affaan Mustafa
parent d05855be5f
commit a374eaf49d
9 changed files with 50 additions and 24 deletions

View File

@ -330,8 +330,8 @@ If you stacked methods, clean up in this order:
# Skills are the primary workflow surface. # Skills are the primary workflow surface.
# Existing slash-style command names still work while ECC migrates off commands/. # Existing slash-style command names still work while ECC migrates off commands/.
# Plugin install uses the namespaced form # Plugin install uses the canonical namespaced form
/ecc:plan "Add user authentication" /everything-claude-code:plan "Add user authentication"
# Manual install keeps the shorter slash form: # Manual install keeps the shorter slash form:
# /plan "Add user authentication" # /plan "Add user authentication"
@ -942,8 +942,8 @@ Not sure where to start? Use this quick reference. Skills are the canonical work
| I want to... | Use this surface | Agent used | | I want to... | Use this surface | Agent used |
|--------------|-----------------|------------| |--------------|-----------------|------------|
| Plan a new feature | `/ecc:plan "Add auth"` | planner | | Plan a new feature | `/everything-claude-code:plan "Add auth"` | planner |
| Design system architecture | `/ecc:plan` + architect agent | architect | | Design system architecture | `/everything-claude-code:plan` + architect agent | architect |
| Write code with tests first | `tdd-workflow` skill | tdd-guide | | Write code with tests first | `tdd-workflow` skill | tdd-guide |
| Review code I just wrote | `/code-review` | code-reviewer | | Review code I just wrote | `/code-review` | code-reviewer |
| Fix a failing build | `/build-fix` | build-error-resolver | | Fix a failing build | `/build-fix` | build-error-resolver |
@ -962,7 +962,7 @@ Slash forms below are shown where they remain part of the maintained command sur
**Starting a new feature:** **Starting a new feature:**
``` ```
/ecc:plan "Add user authentication with OAuth" /everything-claude-code:plan "Add user authentication with OAuth"
→ planner creates implementation blueprint → planner creates implementation blueprint
tdd-workflow skill → tdd-guide enforces write-tests-first tdd-workflow skill → tdd-guide enforces write-tests-first
/code-review → code-reviewer checks your work /code-review → code-reviewer checks your work

View File

@ -151,7 +151,7 @@ Copy-Item -Recurse rules/typescript "$HOME/.claude/rules/"
```bash ```bash
# 尝试一个命令(插件安装使用命名空间形式) # 尝试一个命令(插件安装使用命名空间形式)
/ecc:plan "添加用户认证" /everything-claude-code:plan "添加用户认证"
# 手动安装选项2使用简短形式 # 手动安装选项2使用简短形式
# /plan "添加用户认证" # /plan "添加用户认证"

View File

@ -134,7 +134,7 @@ cp -r everything-claude-code/rules/golang/* ~/.claude/rules/
```bash ```bash
# コマンドを試す(プラグインはネームスペース形式) # コマンドを試す(プラグインはネームスペース形式)
/ecc:plan "ユーザー認証を追加" /everything-claude-code:plan "ユーザー認証を追加"
# 手動インストールオプション2は短縮形式 # 手動インストールオプション2は短縮形式
# /plan "ユーザー認証を追加" # /plan "ユーザー認証を追加"

View File

@ -141,7 +141,7 @@ cd everything-claude-code
```bash ```bash
# 커맨드 실행 (플러그인 설치 시 네임스페이스 형태 사용) # 커맨드 실행 (플러그인 설치 시 네임스페이스 형태 사용)
/ecc:plan "사용자 인증 추가" /everything-claude-code:plan "사용자 인증 추가"
# 수동 설치(옵션 2) 시에는 짧은 형태를 사용: # 수동 설치(옵션 2) 시에는 짧은 형태를 사용:
# /plan "사용자 인증 추가" # /plan "사용자 인증 추가"
@ -489,8 +489,8 @@ rules/
| 하고 싶은 것 | 사용할 커맨드 | 사용되는 에이전트 | | 하고 싶은 것 | 사용할 커맨드 | 사용되는 에이전트 |
|-------------|-------------|-----------------| |-------------|-------------|-----------------|
| 새 기능 계획하기 | `/ecc:plan "인증 추가"` | planner | | 새 기능 계획하기 | `/everything-claude-code:plan "인증 추가"` | planner |
| 시스템 아키텍처 설계 | `/ecc:plan` + architect 에이전트 | architect | | 시스템 아키텍처 설계 | `/everything-claude-code:plan` + architect 에이전트 | architect |
| 테스트를 먼저 작성하며 코딩 | `/tdd` | tdd-guide | | 테스트를 먼저 작성하며 코딩 | `/tdd` | tdd-guide |
| 방금 작성한 코드 리뷰 | `/code-review` | code-reviewer | | 방금 작성한 코드 리뷰 | `/code-review` | code-reviewer |
| 빌드 실패 수정 | `/build-fix` | build-error-resolver | | 빌드 실패 수정 | `/build-fix` | build-error-resolver |
@ -507,7 +507,7 @@ rules/
**새로운 기능 시작:** **새로운 기능 시작:**
``` ```
/ecc:plan "OAuth를 사용한 사용자 인증 추가" /everything-claude-code:plan "OAuth를 사용한 사용자 인증 추가"
→ planner가 구현 청사진 작성 → planner가 구현 청사진 작성
/tdd → tdd-guide가 테스트 먼저 작성 강제 /tdd → tdd-guide가 테스트 먼저 작성 강제
/code-review → code-reviewer가 코드 검토 /code-review → code-reviewer가 코드 검토

View File

@ -161,7 +161,7 @@ npx ecc-install typescript
```bash ```bash
# Experimente um comando (a instalação do plugin usa forma com namespace) # Experimente um comando (a instalação do plugin usa forma com namespace)
/ecc:plan "Adicionar autenticação de usuário" /everything-claude-code:plan "Adicionar autenticação de usuário"
# Instalação manual (Opção 2) usa a forma mais curta: # Instalação manual (Opção 2) usa a forma mais curta:
# /plan "Adicionar autenticação de usuário" # /plan "Adicionar autenticação de usuário"
@ -408,8 +408,8 @@ Regras são diretrizes sempre seguidas, organizadas em `common/` (agnóstico à
| Quero... | Use este comando | Agente usado | | Quero... | Use este comando | Agente usado |
|----------|-----------------|--------------| |----------|-----------------|--------------|
| Planejar um novo recurso | `/ecc:plan "Adicionar auth"` | planner | | Planejar um novo recurso | `/everything-claude-code:plan "Adicionar auth"` | planner |
| Projetar arquitetura de sistema | `/ecc:plan` + agente architect | architect | | Projetar arquitetura de sistema | `/everything-claude-code:plan` + agente architect | architect |
| Escrever código com testes primeiro | `/tdd` | tdd-guide | | Escrever código com testes primeiro | `/tdd` | tdd-guide |
| Revisar código que acabei de escrever | `/code-review` | code-reviewer | | Revisar código que acabei de escrever | `/code-review` | code-reviewer |
| Corrigir build com falha | `/build-fix` | build-error-resolver | | Corrigir build com falha | `/build-fix` | build-error-resolver |
@ -424,7 +424,7 @@ Regras são diretrizes sempre seguidas, organizadas em `common/` (agnóstico à
**Começando um novo recurso:** **Começando um novo recurso:**
``` ```
/ecc:plan "Adicionar autenticação de usuário com OAuth" /everything-claude-code:plan "Adicionar autenticação de usuário com OAuth"
→ planner cria blueprint de implementação → planner cria blueprint de implementação
/tdd → tdd-guide aplica escrita de testes primeiro /tdd → tdd-guide aplica escrita de testes primeiro
/code-review → code-reviewer verifica seu trabalho /code-review → code-reviewer verifica seu trabalho

View File

@ -164,7 +164,7 @@ Manuel kurulum talimatları için `rules/` klasöründeki README'ye bakın.
```bash ```bash
# Bir command deneyin (plugin kurulumu namespace'li form kullanır) # Bir command deneyin (plugin kurulumu namespace'li form kullanır)
/ecc:plan "Kullanıcı kimlik doğrulaması ekle" /everything-claude-code:plan "Kullanıcı kimlik doğrulaması ekle"
# Manuel kurulum (Seçenek 2) daha kısa formu kullanır: # Manuel kurulum (Seçenek 2) daha kısa formu kullanır:
# /plan "Kullanıcı kimlik doğrulaması ekle" # /plan "Kullanıcı kimlik doğrulaması ekle"
@ -308,8 +308,8 @@ Nereden başlayacağınızdan emin değil misiniz? Bu hızlı referansı kullan
| Yapmak istediğim... | Bu command'ı kullan | Kullanılan agent | | Yapmak istediğim... | Bu command'ı kullan | Kullanılan agent |
|---------------------|---------------------|------------------| |---------------------|---------------------|------------------|
| Yeni bir feature planla | `/ecc:plan "Auth ekle"` | planner | | Yeni bir feature planla | `/everything-claude-code:plan "Auth ekle"` | planner |
| Sistem mimarisi tasarla | `/ecc:plan` + architect agent | architect | | Sistem mimarisi tasarla | `/everything-claude-code:plan` + architect agent | architect |
| Önce testlerle kod yaz | `/tdd` | tdd-guide | | Önce testlerle kod yaz | `/tdd` | tdd-guide |
| Yazdığım kodu incele | `/code-review` | code-reviewer | | Yazdığım kodu incele | `/code-review` | code-reviewer |
| Başarısız bir build'i düzelt | `/build-fix` | build-error-resolver | | Başarısız bir build'i düzelt | `/build-fix` | build-error-resolver |
@ -324,7 +324,7 @@ Nereden başlayacağınızdan emin değil misiniz? Bu hızlı referansı kullan
**Yeni bir feature başlatma:** **Yeni bir feature başlatma:**
``` ```
/ecc:plan "OAuth ile kullanıcı kimlik doğrulaması ekle" /everything-claude-code:plan "OAuth ile kullanıcı kimlik doğrulaması ekle"
→ planner implementasyon planı oluşturur → planner implementasyon planı oluşturur
/tdd → tdd-guide önce-test-yaz'ı zorunlu kılar /tdd → tdd-guide önce-test-yaz'ı zorunlu kılar
/code-review → code-reviewer çalışmanızı kontrol eder /code-review → code-reviewer çalışmanızı kontrol eder

View File

@ -206,7 +206,7 @@ Copy-Item -Recurse rules/typescript "$HOME/.claude/rules/"
```bash ```bash
# Try a command (plugin install uses namespaced form) # Try a command (plugin install uses namespaced form)
/ecc:plan "Add user authentication" /everything-claude-code:plan "Add user authentication"
# Manual install (Option 2) uses the shorter form: # Manual install (Option 2) uses the shorter form:
# /plan "Add user authentication" # /plan "Add user authentication"
@ -755,8 +755,8 @@ rules/
| 我想要... | 使用此表面 | 使用的智能体 | | 我想要... | 使用此表面 | 使用的智能体 |
|--------------|-----------------|------------| |--------------|-----------------|------------|
| 规划新功能 | `/ecc:plan "Add auth"` | planner | | 规划新功能 | `/everything-claude-code:plan "Add auth"` | planner |
| 设计系统架构 | `/ecc:plan` + architect agent | architect | | 设计系统架构 | `/everything-claude-code:plan` + architect agent | architect |
| 先写测试再写代码 | `tdd-workflow` 技能 | tdd-guide | | 先写测试再写代码 | `tdd-workflow` 技能 | tdd-guide |
| 评审我刚写的代码 | `/code-review` | code-reviewer | | 评审我刚写的代码 | `/code-review` | code-reviewer |
| 修复失败的构建 | `/build-fix` | build-error-resolver | | 修复失败的构建 | `/build-fix` | build-error-resolver |
@ -774,7 +774,7 @@ rules/
**开始新功能:** **开始新功能:**
``` ```
/ecc:plan "使用 OAuth 添加用户身份验证" /everything-claude-code:plan "使用 OAuth 添加用户身份验证"
→ 规划器创建实现蓝图 → 规划器创建实现蓝图
tdd-workflow 技能 → tdd-guide 强制执行先写测试 tdd-workflow 技能 → tdd-guide 强制执行先写测试
/code-review → 代码审查员检查你的工作 /code-review → 代码审查员检查你的工作

View File

@ -89,7 +89,7 @@ cp -r everything-claude-code/rules/* ~/.claude/rules/
```bash ```bash
# 嘗試一個指令(外掛安裝使用命名空間形式) # 嘗試一個指令(外掛安裝使用命名空間形式)
/ecc:plan "新增使用者認證" /everything-claude-code:plan "新增使用者認證"
# 手動安裝選項2使用簡短形式 # 手動安裝選項2使用簡短形式
# /plan "新增使用者認證" # /plan "新增使用者認證"

View File

@ -50,6 +50,17 @@ const pluginAndManualInstallDocs = [
'docs/zh-CN/README.md', 'docs/zh-CN/README.md',
]; ];
const publicCommandNamespaceDocs = [
'README.md',
'README.zh-CN.md',
'docs/pt-BR/README.md',
'docs/tr/README.md',
'docs/ko-KR/README.md',
'docs/ja-JP/README.md',
'docs/zh-CN/README.md',
'docs/zh-TW/README.md',
];
for (const relativePath of pluginAndManualInstallDocs) { for (const relativePath of pluginAndManualInstallDocs) {
const content = fs.readFileSync(path.join(repoRoot, relativePath), 'utf8'); const content = fs.readFileSync(path.join(repoRoot, relativePath), 'utf8');
@ -70,6 +81,21 @@ for (const relativePath of pluginAndManualInstallDocs) {
}); });
} }
for (const relativePath of publicCommandNamespaceDocs) {
const content = fs.readFileSync(path.join(repoRoot, relativePath), 'utf8');
test(`${relativePath} uses the canonical plugin command namespace`, () => {
assert.ok(
!content.includes('/ecc:'),
'Expected docs not to advertise the unsupported /ecc: plugin alias'
);
assert.ok(
content.includes('/everything-claude-code:plan'),
'Expected docs to show the canonical plugin command namespace'
);
});
}
if (failed > 0) { if (failed > 0) {
console.log(`\nFailed: ${failed}`); console.log(`\nFailed: ${failed}`);
process.exit(1); process.exit(1);