starknet-agentic / website
CLAUDE.md80 starsChanged 7 months agoMITView on GitHub
Documentation website for Starknet Agentic built with Next.js 16, React 19, and Tailwind CSS. Uses MDX for documentation content with syntax highlighting via Shiki. Documentation uses a two-layer system: 1. app/data/docs.ts - Defines categories and page metadata (titles, descriptions, slugs) 2. content/docs/{category}/{slug}.mdx - Actual MDX content files The dynamic route at app/docs/[category]/[slug]/page.tsx renders MDX content via next-mdx-remote/rsc. If an MDX file doesn't exist for a page defined in docs.ts, a "Coming Soon" placeholder is shown. Uses a neo-brutalist design system…
In this repository22 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- llms.txtllms.txt
- starknet-agentic-skillsSkill
- account-abstractionSkill
- cairo-auditorSkill
- cairo-contract-authoringSkill
- cairo-deploySkill
- cairo-optimizationSkill
- cairo-testingSkill
- controller-cliSkill
- huginn-onboardSkill
- snip-36Skill
- starknet-anonymous-walletSkill
- starknet-defiSkill
- starknet-identitySkill
- starknet-jsSkill
- starknet-mini-paySkill
- starknet-network-factsSkill
- starknet-tongoSkill
- starknet-walletSkill
- starkzap-sdkSkill
The file
We split this CLAUDE.md into the rules it gives an agent
3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 85
Add page metadata to app/data/docs.ts under the appropriate category
- Very specific: line 86
Create MDX file at content/docs/{category}/{slug}.mdx
- Very specific: line 87
Use available MDX components: Callout, Collapsible, FAQItem, Steps, Step, QuickStartChecklist
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Overview
Documentation website for Starknet Agentic built with Next.js 16, React 19, and Tailwind CSS. Uses MDX for documentation content with syntax highlighting via Shiki.
Commands
| Task | Command |
| Install dependencies | pnpm install |
| Start dev server | pnpm dev |
| Build for production | pnpm build |
| Start production server | pnpm start |
| Run ESLint | pnpm lint |
Architecture
Directory Structure
app/
├── components/
│ ├── docs/ # Documentation components (sidebar, search, pagination, callouts)
│ ├── Hero/ # Landing page hero section
│ ├── Navbar/ # Navigation (desktop + mobile)
│ ├── sections/ # Landing page sections (Vision, FeaturedApps, Architecture, etc.)
│ └── ui/ # Reusable UI components (cards, badges)
├── data/ # Static data with TypeScript types
├── docs/ # Documentation pages (uses [category]/[slug] dynamic routing)
└── hooks/ # Custom React hooks
content/
└── docs/ # MDX documentation files organized by category
lib/
├── mdx.ts # MDX file loading utilities
└── mdx-components.tsx # Custom MDX component mappingsDocumentation System
Documentation uses a two-layer system:
app/data/docs.ts- Defines categories and page metadata (titles, descriptions, slugs)content/docs/{category}/{slug}.mdx- Actual MDX content files
The dynamic route at app/docs/[category]/[slug]/page.tsx renders MDX content via next-mdx-remote/rsc. If an MDX file doesn't exist for a page defined in docs.ts, a "Coming Soon" placeholder is shown.
Path Aliases
@/*→./app/*@/lib/*→./lib/*
Styling Conventions
Design System: Neo-brutalist
Uses a neo-brutalist design system defined in the @theme block of app/globals.css (Tailwind CSS 4):
Colors:
cream- Background (#FFFBEB)neo-yellow,neo-pink,neo-purple,neo-blue,neo-green,neo-orange,neo-cyan- Accent colorsneo-dark- Primary text (#1a1a2e)
Shadows (offset borders):
shadow-neo-sm(2px),shadow-neo(4px),shadow-neo-lg(6px),shadow-neo-xl(8px)
Fonts:
font-heading(Space Grotesk) - Headings and buttonsfont-body(DM Sans) - Body textfont-mono(JetBrains Mono) - Code
Component Classes
Defined in globals.css:
.neo-card/.neo-card-hover- Cards with border + shadow.neo-btn-primary/.neo-btn-secondary/.neo-btn-dark- Buttons.neo-badge- Badges.neo-input- Form inputs.section-padding- Standard section spacing.prose-neo- Documentation prose styling
Adding Documentation
- Add page metadata to
app/data/docs.tsunder the appropriate category - Create MDX file at
content/docs/{category}/{slug}.mdx - Use available MDX components:
Callout,Collapsible,FAQItem,Steps,Step,QuickStartChecklist
Key Files
| File | Purpose |
app/layout.tsx | Root layout with fonts and metadata |
app/page.tsx | Landing page composition |
app/docs/layout.tsx | Docs layout with sidebar and search |
app/data/docs.ts | Documentation structure definition |
lib/mdx.ts | MDX file reading utilities |
lib/mdx-components.tsx | Custom MDX component definitions |
app/globals.css | Tailwind entry point: design tokens (@theme) and component classes |
tailwind.config.mjs | @tailwindcss/typography theme for docs prose (loaded via @config) |
next.config.ts | Next.js config with MDX support |
Documentation Tracking
<!-- This field is automatically updated by the /update-docs command -->docs-last-updated: 08504816a479bf7571cf3494f982091bf40168bd
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

