chore: rename lean-spec → leanspec / @leanspec/cli (Part of codervisor/leanspec#254)#7
Merged
Merged
Conversation
…r/leanspec#254) Sync to the upstream codebase rename in codervisor/leanspec#254. Substitutions applied across en + zh-Hans content (.mdx / .md / .json / .ts), driven by an ordered ruleset to avoid clobbering things that did NOT rename: - `lean-spec.dev` — domain stays (leanspec.dev is taken) - `lean-spec-docs` — this repo's slug stays - `lean-spec-desktop` — separate repo - `.lean-spec/` — project config directory unchanged Renamed: - GitHub URLs: codervisor/lean-spec → codervisor/leanspec - npm CLI package: lean-spec → @leanspec/cli (anti-typosquatting fallback) - MCP server package: lean-spec (bin) → @leanspec/mcp (separate package) - Bare CLI invocation: `lean-spec <cmd>` → `leanspec <cmd>` (incl. --flags and shell pipes) - MCP config key in JSON examples: "lean-spec" → "leanspec" - Multi-project MCP keys: "lean-spec-projectA" → "leanspec-projectA" - Anchor links: #lean-spec-<cmd> → #leanspec-<cmd> - docusaurus.config.ts projectName + editUrl + footer links - AGENTS.md + footer translations Build verified: `tsc --noEmit` clean, `docusaurus build` clean for both en and zh-Hans (config has `onBrokenLinks: 'throw'`, so any broken internal anchor would have failed the build). 82 files changed. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Sync this docs site to the upstream codebase rename in codervisor/leanspec#254. The product repo, the CLI binary, the npm package, the MCP config key, and the public agent skill all changed — this PR updates every reference across en + zh-Hans content so the published docs (and the live
lean-spec.devsite) stop pointing at the deprecated names.What did and didn't rename
codervisor/leanspec(https://github.com/codervisor/leanspec/...)leanspec <subcommand>@leanspec/cli@leanspec/mcp"leanspec"npx skills add codervisor/leanspec@leanspeclean-spec.dev— unchanged (leanspec.devis owned by a third party)lean-spec-docs— unchangedcodervisor/lean-spec-desktop.lean-spec/config.jsonSubstitutions applied (ordered, en + zh-Hans content + config)
codervisor/lean-spec→codervisor/leanspec(with negative lookahead solean-spec-docs/lean-spec-desktopare left alone)npm install -g lean-spec→npm install -g @leanspec/cli(andnpx/npm installvariants)npx -y lean-spec mcp→npx -y @leanspec/mcpnpx -y lean-spec <cmd>→npx -y -p @leanspec/cli leanspec <cmd>"lean-spec":→"leanspec":(including multi-project variants like"lean-spec-projectA")\blean-spec(?= [a-z<-])→leanspec(handleslean-spec board,lean-spec --help,lean-spec <command>)`lean-spec`→`leanspec`#lean-spec-<cmd>→#leanspec-<cmd>(to match the now-renamed### \leanspec `headings inreference/cli.mdx`)docusaurus.config.ts:projectName,editUrlfor docs + blog, footer GitHub/Issues/Discussions/Contributing/Changelog links, npm package linki18n/zh-Hans/docusaurus-theme-classic/footer.jsonAGENTS.md(top-level)cd lean-spec,which lean-spec, theDirect lean-spec Commandheading, the directory-tree examplelean-spec/line indevelopment.mdx, the migration-guidesedexample, blog link text)Verification
./node_modules/.bin/tsc --noEmit→ cleanpnpm validate:mdx→ 51/51 files pass./node_modules/.bin/docusaurus build→ succeeds for bothenandzh-Hans(config hasonBrokenLinks: 'throw', so any broken internal anchor would have failed the build)grepfor unwantedlean-specreferences → zero leftovers outside the explicit allowlist (lean-spec.dev,lean-spec-docs,lean-spec-desktop,.lean-spec/)82 files changed, 1,393 insertions / 1,393 deletions — a clean character-for-character swap with no growth.
Test plan
lean-spec.devshows updated install commands, anchors resolve, footer links go tocodervisor/leanspec🤖 Generated with Claude Code