itsyconnect-macos
CLAUDE.md125 starsChanged 9 months agoMITView on GitHub
Self-hosted App Store Connect dashboard. Next.js 16, TypeScript, Tailwind v4, shadcn/ui, SQLite. Before writing any code, read these docs:
The file
We split this CLAUDE.md into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 7
Before writing any code, read these docs:
- Very specific: line 44
When asked to bump: update src/lib/version.ts and package.json version.
≈ “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
Itsyconnect – LLM build guide
Self-hosted App Store Connect dashboard. Next.js 16, TypeScript, Tailwind v4, shadcn/ui, SQLite.
Required reading
Before writing any code, read these docs:
- docs/UI.md – typography, icons, component patterns, form conventions, layout rules. All UI must follow these conventions exactly.
- docs/BACKEND.md – architecture, security model, database schema, caching strategy, API conventions, testing. All server-side code must follow these conventions.
- docs/DB.md – database migrations, how to add tables/columns, checklist. Must read before any schema changes.
Project rules
- shadcn/ui 100% – every UI element uses shadcn. No custom primitives.
- Phosphor icons only –
@phosphor-icons/react. Never import from lucide-react. - Geist font – sans (body) and mono (code/inputs). Set globally, never override.
- Custom CSS classes over inline Tailwind – reusable styles live in
globals.css@layer components. Use.section-titlefor form headings, not ad-hoc utility classes. Add new classes there when a pattern repeats. - Sosumi for Apple docs – always use the
sosumiMCP server to search and fetch Apple developer documentation. Never guess at ASC API shapes, field names, or endpoint paths – look them up via sosumi first.
Core principles
- Security first – never expose API keys client-side. Use session tokens for browser auth, API keys server-side only. No security shortcuts.
- Test-driven – write tests before code. No untested code in production.
- No hacks – fix root causes, not symptoms. No "temporary" workarounds.
- No dead code – remove unused code immediately. Every line must serve a purpose.
- Refactor continuously – extract duplication, simplify complexity, rename for clarity. Not optional.
- No assumptions – ask if uncertain. Verify with tests. Facts over guesses.
- Research before guessing – web search for solutions before guessing at fixes, especially for platform-specific layout/rendering issues. Facts over trial-and-error.
- Revert failed changes – if a code change doesn't fix the problem, remove it completely before trying the next approach. Never leave dead or ineffective code behind.
- Clean up failed fixes immediately – if a code change aimed at fixing something has no effect, remove it completely before trying the next approach. Never accumulate layers of ineffective code.
Routing and request interception
src/proxy.tshandles all request interception (setup redirect, auth guards, etc.). This is Next.js 16's replacement formiddleware.ts– never create amiddleware.tsfile.- The proxy checks
/api/healthon root (/) to determine if setup is needed, then redirects to/setupor/dashboard. - Electron loads
/so the proxy can handle initial routing. Never hardcode/dashboardas the Electron entry URL.
Versioning
- Single source of truth:
src/lib/version.ts– exportsAPP_VERSIONandBUILD_NUMBER. package.json"version"must matchAPP_VERSION.forge.config.tsimportsBUILD_NUMBERforCFBundleVersion.- When asked to bump: update
src/lib/version.tsandpackage.jsonversion.
Style
- European-style titles – never use American Title Case.
- En dashes, not em dashes – use – not —.
Git
- No autonomous commits – never commit or push without explicit user instruction.
- No co-authorship – never add Co-Authored-By lines to commits.
- No git reverts without permission – never revert files using git checkout, git restore, or any git command without explicit user approval. Debug and fix issues instead.
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.

