Skip to content

fix(docs): add Claude Code section back to GitBook navigation#137

Closed
mHaines9219 wants to merge 6 commits intomainfrom
docs/add-claude-code-to-gitbook
Closed

fix(docs): add Claude Code section back to GitBook navigation#137
mHaines9219 wants to merge 6 commits intomainfrom
docs/add-claude-code-to-gitbook

Conversation

@mHaines9219
Copy link
Copy Markdown
Contributor

Summary

  • The claude-code/ directory (overview, workflow skills, 5 CLAUDE.md templates) already existed in GitBook but was missing from SUMMARY.md, so the pages didn't appear on the docs website
  • Adds a ## Claude Code section to SUMMARY.md between Clients and Networks

Test plan

  • Verify the Claude Code section appears in the GitBook sidebar after deploy
  • Confirm all 8 linked pages render correctly (overview, workflow skills, templates index, 5 SDK templates)

- Fix wrong file path in Ch 1: packages/contracts/ClownBeatdown.sol →
  packages/contracts/src/ClownBeatdown.sol
- Add note explaining unused _clownStamina constructor param in Ch 1
- Fix stale "shakes" comment in Ch 3 final contract (no shake mechanic)
- Fix CLI .env: add both CHAIN_ID (broadcast path) and VITE_CHAIN_ID
  (chain selection) to match actual seismic-starter
- Add example ABI JSON structure in frontend Ch 2 showing address/chainId
  fields and where to find the deployed address
sforge does not have a --no-commit flag (it doesn't commit by default).
The command should be just `sforge init`. Verified by running the
tutorial end-to-end.
Walked through the Clown Beatdown tutorial start to finish and fixed
all errors that would block a developer:

- Add --force flag to sforge init (directory already exists in monorepo)
- Replace mv -t with mv src/ (macOS doesn't support GNU -t flag)
- Add missing bun add -d @vitejs/plugin-react-swc install step
- Fix Config import to use type keyword (breaks Vite production build)
- Fix ShieldedPublicClient/ShieldedWalletClient to type imports
- Add missing supporting files: store, theme, pages, ExplorerToast,
  useToastNotifications, stylesheets
Additional fixes found during end-to-end testing:

- Bump seismic-viem from 1.0.9 to 1.1.1 in CLI package.json
  (1.0.9 doesn't export sanvil/seismicTestnet chain configs)
- Split deploy script: constructor-only deploy via sforge script,
  then add secrets via scast send (sforge script --broadcast
  crashes when broadcasting shielded writes like addSecret)
- Add hexToString decoding to CLI rob() method so secrets display
  as readable strings instead of raw hex
sforge init works fine in an empty directory created by mkdir -p.
The --force was only needed due to a testing mistake (running git init
before sforge init). The tutorial flow doesn't require it.
The claude-code/ pages existed but were missing from SUMMARY.md,
so they didn't appear on the documentation website.
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.

1 participant