Skip to content

docs: remove stale translated docs for retired commands#2534

Open
latreon wants to merge 1 commit into
affaan-m:mainfrom
latreon:fix/translated-docs-stale-commands
Open

docs: remove stale translated docs for retired commands#2534
latreon wants to merge 1 commit into
affaan-m:mainfrom
latreon:fix/translated-docs-stale-commands

Conversation

@latreon

@latreon latreon commented Jul 19, 2026

Copy link
Copy Markdown

Summary

  • 11 commands (/tdd, /eval, /verify, /e2e, /docs, /claw, /context-budget, /devfleet, /orchestrate, /prompt-optimize, /rules-distill) were retired to legacy-command-shims/ in favor of skills, but their translated per-command doc pages were still committed under docs/{ja-JP,zh-CN,zh-TW,ko-KR,pt-BR,es,tr}/commands/.
  • Removed the 47 stale files (count differs per locale — not all locales had all 11 translated).
  • docs/ja-JP/commands/README.md also listed 4 of them directly; updated those bullets to point at the replacement skills instead.

Split out of #2532 into its own PR (COMMANDS-QUICK-REF.md fix moved to a separate PR: #2533).

Test plan

  • node tests/lib/locale-install.test.js — 7/7 pass (translated-docs install paths unaffected by removing these stale files)
  • node tests/ci/catalog.test.js — 4/4 pass
  • node tests/run-all.js — 2688/2690 pass (2 pre-existing failures unrelated to this change — from untracked local scaffold dirs under .agents/skills/source-command-*)

11 commands (tdd, eval, verify, e2e, docs, claw, context-budget,
devfleet, orchestrate, prompt-optimize, rules-distill) were retired to
legacy-command-shims/ in favor of skills, but their translated
per-command doc pages were still committed under
docs/{ja-JP,zh-CN,zh-TW,ko-KR,pt-BR,es,tr}/commands/. Removed the 47
stale files (count differs per locale — not all locales had all 11
translated).

docs/ja-JP/commands/README.md also listed 4 of them directly; updated
those bullets to point at the replacement skills instead.
@latreon
latreon requested a review from affaan-m as a code owner July 19, 2026 16:27
@coderabbitai

coderabbitai Bot commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Summary by CodeRabbit

  • Documentation
    • Removed outdated command documentation across multiple languages.
    • Updated the Japanese command index to reference current skill-based workflows and replacements.
    • Users may no longer find localized guidance for several testing, verification, evaluation, orchestration, and utility commands.

Walkthrough

Localized documentation for legacy commands was removed across Spanish, Japanese, Korean, Portuguese, Turkish, Simplified Chinese, and Traditional Chinese. The Japanese command index now points readers from deprecated commands to replacement skills and workflows.

Changes

Localized command documentation migration

Layer / File(s) Summary
Remove legacy localized command pages
docs/es/commands/*, docs/ja-JP/commands/*, docs/ko-KR/commands/*, docs/pt-BR/commands/*, docs/tr/commands/*, docs/zh-CN/commands/*, docs/zh-TW/commands/*
Legacy documentation for commands including e2e, eval, orchestrate, tdd, and verify, plus other localized command pages, was removed without replacement content.
Update Japanese command index
docs/ja-JP/commands/README.md
The index replaces deprecated command references with skills such as tdd-workflow, e2e-testing, verification-loop, dmux-workflows, and autonomous-agent-harness, and updates the example to /test-coverage.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

  • affaan-m/ECC#2153: Related localized /orchestrate documentation removal and replacement orchestrator skill family.

Suggested reviewers: affaan-m

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately summarizes the main change: removing stale translated docs for retired commands.
Description check ✅ Passed The description matches the changeset and correctly explains the removed locale docs and the README updates.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@docs/ja-JP/commands/README.md`:
- Line 53: Update the command example in the documentation so it no longer
replaces /tdd with the unrelated /test-coverage command; document the
tdd-workflow skill instead, or explicitly revise the example to describe
coverage inspection.
- Around line 18-22: Update the retired-command references in the README,
including the repeated entries at the other listed locations, to use Markdown
links instead of plain code spans. Link tdd-workflow, e2e-testing,
verification-loop, dmux-workflows, and autonomous-agent-harness to their
corresponding skills/*/SKILL.md documentation while preserving the existing
Japanese descriptions and command names.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: fd3bdfda-f9d4-4c1f-8a12-3bc3d54e3798

📥 Commits

Reviewing files that changed from the base of the PR and between 754b8dd and f61407f.

📒 Files selected for processing (48)
  • docs/es/commands/e2e.md
  • docs/es/commands/eval.md
  • docs/es/commands/orchestrate.md
  • docs/es/commands/tdd.md
  • docs/es/commands/verify.md
  • docs/ja-JP/commands/README.md
  • docs/ja-JP/commands/claw.md
  • docs/ja-JP/commands/context-budget.md
  • docs/ja-JP/commands/devfleet.md
  • docs/ja-JP/commands/docs.md
  • docs/ja-JP/commands/e2e.md
  • docs/ja-JP/commands/eval.md
  • docs/ja-JP/commands/orchestrate.md
  • docs/ja-JP/commands/prompt-optimize.md
  • docs/ja-JP/commands/rules-distill.md
  • docs/ja-JP/commands/tdd.md
  • docs/ja-JP/commands/verify.md
  • docs/ko-KR/commands/e2e.md
  • docs/ko-KR/commands/eval.md
  • docs/ko-KR/commands/orchestrate.md
  • docs/ko-KR/commands/tdd.md
  • docs/ko-KR/commands/verify.md
  • docs/pt-BR/commands/e2e.md
  • docs/pt-BR/commands/eval.md
  • docs/pt-BR/commands/orchestrate.md
  • docs/pt-BR/commands/tdd.md
  • docs/pt-BR/commands/verify.md
  • docs/tr/commands/e2e.md
  • docs/tr/commands/eval.md
  • docs/tr/commands/orchestrate.md
  • docs/tr/commands/tdd.md
  • docs/tr/commands/verify.md
  • docs/zh-CN/commands/claw.md
  • docs/zh-CN/commands/context-budget.md
  • docs/zh-CN/commands/devfleet.md
  • docs/zh-CN/commands/docs.md
  • docs/zh-CN/commands/e2e.md
  • docs/zh-CN/commands/eval.md
  • docs/zh-CN/commands/orchestrate.md
  • docs/zh-CN/commands/prompt-optimize.md
  • docs/zh-CN/commands/rules-distill.md
  • docs/zh-CN/commands/tdd.md
  • docs/zh-CN/commands/verify.md
  • docs/zh-TW/commands/e2e.md
  • docs/zh-TW/commands/eval.md
  • docs/zh-TW/commands/orchestrate.md
  • docs/zh-TW/commands/tdd.md
  • docs/zh-TW/commands/verify.md
💤 Files with no reviewable changes (47)
  • docs/pt-BR/commands/verify.md
  • docs/ko-KR/commands/verify.md
  • docs/ko-KR/commands/eval.md
  • docs/ja-JP/commands/orchestrate.md
  • docs/es/commands/eval.md
  • docs/pt-BR/commands/e2e.md
  • docs/ja-JP/commands/prompt-optimize.md
  • docs/zh-CN/commands/orchestrate.md
  • docs/ja-JP/commands/docs.md
  • docs/tr/commands/verify.md
  • docs/ja-JP/commands/devfleet.md
  • docs/ko-KR/commands/orchestrate.md
  • docs/zh-CN/commands/eval.md
  • docs/ja-JP/commands/claw.md
  • docs/ja-JP/commands/eval.md
  • docs/ko-KR/commands/tdd.md
  • docs/ja-JP/commands/context-budget.md
  • docs/zh-CN/commands/rules-distill.md
  • docs/ja-JP/commands/verify.md
  • docs/zh-CN/commands/verify.md
  • docs/zh-TW/commands/eval.md
  • docs/es/commands/e2e.md
  • docs/es/commands/verify.md
  • docs/ja-JP/commands/rules-distill.md
  • docs/zh-CN/commands/claw.md
  • docs/zh-TW/commands/tdd.md
  • docs/pt-BR/commands/eval.md
  • docs/es/commands/tdd.md
  • docs/es/commands/orchestrate.md
  • docs/zh-CN/commands/devfleet.md
  • docs/zh-TW/commands/orchestrate.md
  • docs/zh-CN/commands/tdd.md
  • docs/zh-TW/commands/e2e.md
  • docs/ja-JP/commands/tdd.md
  • docs/zh-CN/commands/context-budget.md
  • docs/ja-JP/commands/e2e.md
  • docs/pt-BR/commands/orchestrate.md
  • docs/tr/commands/orchestrate.md
  • docs/zh-CN/commands/prompt-optimize.md
  • docs/zh-TW/commands/verify.md
  • docs/pt-BR/commands/tdd.md
  • docs/tr/commands/tdd.md
  • docs/zh-CN/commands/docs.md
  • docs/zh-CN/commands/e2e.md
  • docs/ko-KR/commands/e2e.md
  • docs/tr/commands/eval.md
  • docs/tr/commands/e2e.md
📜 Review details
⏰ Context from checks skipped due to timeout. (1)
  • GitHub Check: Greptile Review
🧰 Additional context used
📓 Path-based instructions (3)
docs/ja-JP/commands/**/*.md

📄 CodeRabbit inference engine (docs/ja-JP/CLAUDE.md)

Format commands as Markdown with description frontmatter

Files:

  • docs/ja-JP/commands/README.md
docs/ja-JP/**/*.{md,json}

📄 CodeRabbit inference engine (docs/ja-JP/CLAUDE.md)

Use lowercase hyphen-separated naming convention for files (e.g., python-reviewer.md, tdd-workflow.md)

Files:

  • docs/ja-JP/commands/README.md
docs/ja-JP/**/README.md

📄 CodeRabbit inference engine (docs/ja-JP/CLAUDE.md)

Use /readme skill when working with README.md file

Files:

  • docs/ja-JP/commands/README.md

Comment on lines +18 to +22
- `/go-test`, `/kotlin-test`, `/rust-test`, `/cpp-test`, `/flutter-test`, `/react-test` - 言語別 TDD ワークフロー
- `/test-coverage` - テストカバレッジを確認
- `/verify` - 実装を検証
- (`/tdd` は廃止 → `tdd-workflow` スキルを使用)
- (`/e2e` は廃止 → `e2e-testing` スキルを使用)
- (`/verify` は廃止 → `verification-loop` スキルを使用)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win

Link the replacement skills instead of displaying plain text.

The retired commands currently point to non-clickable code spans, so readers cannot navigate to the canonical documentation. Add Markdown links to skills/tdd-workflow/SKILL.md, skills/e2e-testing/SKILL.md, skills/verification-loop/SKILL.md, skills/dmux-workflows/SKILL.md, and skills/autonomous-agent-harness/SKILL.md at each listed reference.

Also applies to: 37-37, 69-69, 72-72, 76-76

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/ja-JP/commands/README.md` around lines 18 - 22, Update the
retired-command references in the README, including the repeated entries at the
other listed locations, to use Markdown links instead of plain code spans. Link
tdd-workflow, e2e-testing, verification-loop, dmux-workflows, and
autonomous-agent-harness to their corresponding skills/*/SKILL.md documentation
while preserving the existing Japanese descriptions and command names.

```bash
/plan
/tdd
/test-coverage

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win

Do not replace /tdd with the unrelated /test-coverage command.

The documented replacement for /tdd is the tdd-workflow skill, while /test-coverage changes the example from test-driven development to coverage inspection. Either document tdd-workflow in this example or explicitly revise the example’s purpose.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/ja-JP/commands/README.md` at line 53, Update the command example in the
documentation so it no longer replaces /tdd with the unrelated /test-coverage
command; document the tdd-workflow skill instead, or explicitly revise the
example to describe coverage inspection.

@greptile-apps

greptile-apps Bot commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR removes 47 stale translated documentation files for 11 commands that were retired to legacy-command-shims/ (in favor of skills), and updates docs/ja-JP/commands/README.md to redirect users to the replacement skills instead of the deleted pages.

  • Deletes per-command .md files across 7 locales (es, ja-JP, ko-KR, pt-BR, tr, zh-CN, zh-TW) for commands including /tdd, /e2e, /eval, /verify, /orchestrate, and others.
  • Updates docs/ja-JP/commands/README.md to replace four retired-command bullets with skill-redirect notices for /tdd, /e2e, /verify, and /orchestrate.

Confidence Score: 4/5

Safe to merge — the change is pure documentation cleanup with no runtime or build impact.

The deletions are straightforward and the commands/README.md update is correct. Several locale-level README.md and CONTRIBUTING.md files still mention the now-deleted filenames in directory tree descriptions, which will mislead contributors looking for those files, but this doesn't affect functionality.

docs/ja-JP/README.md, docs/zh-TW/README.md, docs/zh-CN/README.md, docs/de-DE/README.md, docs/tr/README.md, docs/ru/README.md, docs/ko-KR/README.md, and the corresponding CONTRIBUTING.md files in those locales — all contain stale directory tree entries that now reference deleted files.

Important Files Changed

Filename Overview
docs/ja-JP/commands/README.md Commands README updated to replace retired-command bullets with skill-redirect notices; replacement skill names look correct.
docs/es/commands/e2e.md Deleted — stale Spanish translation of the retired /e2e command doc.
docs/zh-CN/commands/claw.md Deleted — stale Simplified Chinese translation of the retired /claw command doc.
docs/ja-JP/commands/docs.md Deleted — stale Japanese translation of the retired /docs command doc.
docs/ja-JP/commands/orchestrate.md Deleted — stale Japanese translation of the retired /orchestrate command doc.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[Retired Commands] --> B[legacy-command-shims/\nshim wrappers retained]
    C[Translated per-command docs\n47 files across 7 locales] -->|DELETED by this PR| D[Files removed]
    E[docs/ja-JP/commands/README.md] -->|4 bullets updated| F[Redirect to replacement skills\ntdd-workflow, e2e-testing\nverification-loop, dmux-workflows]
    G[Locale-level README.md and CONTRIBUTING.md] -->|NOT updated| H[Stale directory tree entries\nstill mention deleted files]

    style D fill:#f66,color:#fff
    style F fill:#6b6,color:#fff
    style H fill:#fa6,color:#000
Loading
%%{init: {'theme': 'base', 'themeVariables': {"darkMode": true, "background": "#0d1117", "primaryColor": "#21262d", "primaryTextColor": "#e6edf3", "primaryBorderColor": "#8b949e", "lineColor": "#8b949e", "textColor": "#e6edf3", "edgeLabelBackground": "#161b22", "actorBkg": "#21262d", "actorBorder": "#8b949e", "actorTextColor": "#e6edf3", "actorLineColor": "#8b949e", "signalColor": "#8b949e", "signalTextColor": "#e6edf3", "noteBkgColor": "#373320", "noteBorderColor": "#d4a72c", "noteTextColor": "#f0e6c0", "labelBoxBkgColor": "#21262d", "labelBoxBorderColor": "#8b949e", "labelTextColor": "#e6edf3", "loopTextColor": "#e6edf3", "activationBkgColor": "#30363d", "activationBorderColor": "#8b949e"}}}%%
flowchart TD
    A[Retired Commands] --> B[legacy-command-shims/\nshim wrappers retained]
    C[Translated per-command docs\n47 files across 7 locales] -->|DELETED by this PR| D[Files removed]
    E[docs/ja-JP/commands/README.md] -->|4 bullets updated| F[Redirect to replacement skills\ntdd-workflow, e2e-testing\nverification-loop, dmux-workflows]
    G[Locale-level README.md and CONTRIBUTING.md] -->|NOT updated| H[Stale directory tree entries\nstill mention deleted files]

    style D fill:#f66,color:#fff
    style F fill:#6b6,color:#fff
    style H fill:#fa6,color:#000
Loading

Reviews (1): Last reviewed commit: "docs: remove stale translated docs for r..." | Re-trigger Greptile

@daltino daltino left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DECISION: APPROVE

This PR removes stale, translated documentation for retired commands, which aligns with maintaining an up-to-date and relevant documentation set. The changes appear straightforward, consisting only of file deletions, and comply with the contribution guidelines under "Cross-Harness and Translations" about maintaining relevant content. No further action is needed.

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