Update Javadoc and public documentation after implementing features. Use when finishing implementation to ensure both internal (Javadoc) and external (website docs) documentation are accurate and complete.
Golden Rule: Documentation that misleads is worse than no documentation.
Invoke /brane-docs after completing implementation that affects:
git diff --name-only HEAD~1 | grep '\.java$'
Focus on public API changes in:
brane-core/src/main/java/sh/brane/core/...brane-rpc/src/main/java/sh/brane/rpc/...brane-contract/src/main/java/sh/brane/contract/...Update source files directly. Required elements:
@param for every parameter (state nullability)@return for non-void (state empty/null semantics)@throws for all exceptions (state condition){@code} examples for public entry pointsDocs location: website/docs/pages/docs/
website/docs/pages/docs/
├── quickstart.mdx
├── architecture.mdx
├── performance.mdx
├── reader/ # Brane.Reader methods
│ ├── api.mdx
│ ├── simulate.mdx
│ └── subscriptions.mdx
├── signer/ # Brane.Signer methods
│ ├── api.mdx
│ ├── signers.mdx
│ ├── hd-wallets.mdx
│ ├── eip712.mdx
│ ├── blobs.mdx
│ └── custom-signers.mdx
├── contracts/
│ ├── bindings.mdx
│ ├── interaction.mdx
│ └── multicall.mdx
├── testing/ # Brane.Tester methods
│ ├── overview.mdx
│ ├── setup.mdx
│ ├── state.mdx
│ ├── impersonation.mdx
│ ├── mining-time.mdx
│ └── accounts.mdx
├── providers/
│ ├── http.mdx
│ └── websocket.mdx
├── utilities/
│ ├── types.mdx
│ ├── abi.mdx
│ ├── errors.mdx
│ ├── threading.mdx
│ └── metrics.mdx
└── chains/
└── profiles.mdx
| Feature Type | Update These Pages |
|--------------|-------------------|
| New Reader method | reader/api.mdx |
| New Signer method | signer/api.mdx |
| New type (Address, Wei, etc.) | utilities/types.mdx |
| Contract feature | contracts/bindings.mdx or contracts/interaction.mdx |
| Provider changes | providers/http.mdx or providers/websocket.mdx |
| Error handling | utilities/errors.mdx |
| Testing feature | testing/ appropriate file |
| New major feature | May need new page |
After updating Javadoc and website docs, decide whether CLAUDE.md files need updates.
Update CLAUDE.md when:
Skip CLAUDE.md when:
Which CLAUDE.md to update:
| Change Location | CLAUDE.md File |
|-----------------|----------------|
| brane-primitives | brane-primitives/CLAUDE.md |
| brane-core types, ABI, crypto | brane-core/CLAUDE.md |
| brane-kzg | brane-kzg/CLAUDE.md |
| brane-rpc clients, providers | brane-rpc/CLAUDE.md |
| brane-contract | brane-contract/CLAUDE.md |
| Cross-cutting patterns | Root CLAUDE.md |
When updating, follow existing structure:
Before finishing, verify:
Javadoc:
Website Docs:
Cross-Reference:
CLAUDE.md (if applicable):
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer