Copilot-Skills
Copilot instructions3 starsChanged 12 months agoMITView on GitHub
⚡ CRITICAL: For ANY file operation (C.R.U.D., search, grep, etc.), ALWAYS use Kit first: Before reading, searching, or modifying ANY file: Why: Kit is 25-36x faster than grep, excludes node_modules automatically, and gives structured output. This is MANDATORY for every task. Do not skip Kit. DiscoverAnnaTX is a production-ready local business directory with AI-powered business review generation. It's a full-stack TypeScript application combining React frontend with Node.js/Express backend, featuring Redis-backed async job processing for website scraping and AI analysis. Current…
- Reads credentials
- Sends data out
The file
Show its rules and text
We split this copilot-instructions.md into the rules it gives an agent
23 rules. About 0 are common, 13 are distinctive, and 10 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈13
Distinctive · estimate
This author's own choices. Worth a look.
10
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 23
This is MANDATORY for every task: Do not skip Kit.
- Very specific: line 29
Treat every user query as an orchestration task: decide which specialist agents in /.github/agents/ to involve before replying.
- Very specific: line 30
Prefer breaking work into targeted subagents when tasks can be split.
- Distinctive: line 31
If no suitable agent exists or delegation adds no value, proceed directly but mention that delegation was considered.
- Distinctive: line 32
Keep added narration minimal and honor all existing workflows (Kit-first, patching rules, testing, quirks).
- Distinctive: line 147
Use this for: CTAs, buttons, headers, error messages, empty states, and any UI copy
- Very specific: line 157
Use Stripe test card: 4242 4242 4242 4242 (any future expiry, any CVC)
- Distinctive: line 209
Accessibility (A11y): All components must be accessible (keyboard nav, ARIA roles, contrast).
- Very specific: line 210
Styling: Use Tailwind utility classes.
- Distinctive: line 218
Before making changes to any file, check for "Note:" comments in the code.
- Distinctive: line 319
HomePage: Search, featured businesses, category/city filters, pagination
- Distinctive: line 436
All listings filtered by active city context
- Very specific: line 443
Default demo: admin@sethrose.dev / admin123
- Distinctive: line 451
All API responses typed
- Very specific: line 466
Add to schema in prisma/schema.prisma
- Very specific: line 468
Update Business interface in src/lib/database-client.ts
- Distinctive: line 469
Update form in submission/edit pages
- Very specific: line 472
Update src/config/anna.config.ts categories array
- Very specific: line 537
Run bun run build to check compilation
- Very specific: line 559
Redis: Verify docker-compose includes Redis service for BullMQ
- Distinctive: line 560
Stripe: Create test products in Stripe Dashboard for 3 revenue streams
- Distinctive: line 569
When you ask Claude questions about the codebase, it reads the cached data first for instant symbol lookups
- Distinctive: line 581
After merging large PRs
≈ “Common” is an estimate: at least 1 in 5 of the 1,644 Copilot instructions 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
Copilot Instructions
⚡ CRITICAL: For ANY file operation (C.R.U.D., search, grep, etc.), ALWAYS use Kit first:
Before reading, searching, or modifying ANY file:
# Find what you're looking for
kit symbols . --format json | jq '.[] | select(.name == "FUNCTION_NAME")' # Find function
kit grep . "SEARCH_TERM" --directory "src" # Search in directory
kit usages . "SYMBOL_NAME" # Find usages
# Get file context before editing
kit context . src/file.ts 42 # Get code around line
kit chunk-symbols . src/file.ts # Split file by functions
# Understand related code
kit file-tree . --path src/pages # View structure
cat .kit-analysis/summary.md # See most complex filesWhy: Kit is 25-36x faster than grep, excludes node_modules automatically, and gives structured output.
This is MANDATORY for every task. Do not skip Kit.
Orchestration Default
- Treat every user query as an orchestration task: decide which specialist agents in
/.github/agents/to involve before replying. - Prefer breaking work into targeted subagents when tasks can be split; call them via the
runSubagenttool and merge their outputs into one concise answer. - If no suitable agent exists or delegation adds no value, proceed directly but mention that delegation was considered.
- Keep added narration minimal and honor all existing workflows (Kit-first, patching rules, testing, quirks).
Project Overview
DiscoverAnnaTX is a production-ready local business directory with AI-powered business review generation. It's a full-stack TypeScript application combining React frontend with Node.js/Express backend, featuring Redis-backed async job processing for website scraping and AI analysis.
Current Phase: AI review system operational with BullMQ job queue, Puppeteer web scraping, OpenRouter Claude/Gemini AI integration, and Stripe monetization (3 revenue streams: Category Sponsorship $299.99/mo, 50 Lead Credits $99.99, 10 Lead Credits $49.99)
Technology Stack
Frontend: React 18.3, TypeScript 5.6, Vite 6, Tailwind CSS v4, Radix UI (23+ components) Backend: Node.js (Bun), Express, Better Auth, Prisma 6.19.0, PostgreSQL 16 AI Processing: OpenRouter API (Gemini 2.5 Flash, Sherlock), OpenAI SDK v6.8.1, Puppeteer 24.29.1, JSDOM Job Queue: BullMQ 5.63.2 (Redis-backed async), ioredis 5.8.2, Redis persistence (AOF) Payments: Stripe (checkout sessions, webhooks, subscriptions) Utilities: React Hook Form, Zod validation, React Router v6, Lucide icons, Turndown (HTML→Markdown)
Project Structure
src/ # Frontend (React)
├── components/ # Reusable UI (Button, Card, etc)
├── pages/ # Route components
├── config/ # anna.config.ts - directory branding
├── contexts/ # AuthContext for global state
├── hooks/ # useIsMobile, custom hooks
├── lib/ # database-client.ts (API), utils.ts
server/ # Backend (Express + BullMQ)
├── index.ts # Express app, routes
├── auth.ts # Better Auth config
├── prisma.ts # Prisma client
├── services/
│ ├── review-worker.ts # BullMQ Worker (async review processing)
│ ├── website-scraper.ts # Puppeteer + AI extraction
│ └── listing-reviewer.ts # Nightly cron job
├── review/
│ ├── buildReview.ts # Change detection + review building
│ ├── normalizeScrapedData.ts # Data validation & formatting
│ └── sourceTrackingUtils.ts # Cross-page data tracking
├── lib/
│ ├── apply-feedback-transform.ts # Claude field transformation
│ ├── stripe-helpers.ts # Stripe integration
├── jobs/
│ ├── queue-config.ts # Redis connection config
│ ├── review-queue.ts # BullMQ Queue
│ └── verification-job.ts # Expiry cleanup
└── review-worker-entrypoint.ts
prisma/
├── schema.prisma # Database schema
├── migrations/ # Migration files
└── seed.ts # Development seedingDevelopment Workflows
Core Commands:
bun run dev- Start Vite frontend (localhost:5173) with HMRbun run dev:server- Start Express backend (localhost:3010)bun run dev:all- Run frontend + backend concurrentlybun run server/review-worker-entrypoint.ts- Start Review Worker (for AI processing)bun run build- TypeScript check + production buildbun run lint- Run ESLintbun run build- TypeScript check + production buildbun clean- Remove node_modules and cache
CRUD & Feature Implementation Tools (Use These Commands):
Phase 1: Research (Before Coding)
kit symbols . --format json | jq '.[] | select(.name == "buildReview")' # Find symbol
kit usages . "buildReview" # See usage impact
kit grep . "review" --directory "server" # Find similar code
cat .kit-analysis/summary.md # Identify risk areasPhase 2: Understand (Get Context)
kit context . src/file.ts 42 # Code around line
kit chunk-symbols . server/services/website-scraper.ts # Split into functions
kit file-tree . --path src/pages # View structurePhase 3: Implement (Check Patterns)
kit symbols . --format json | jq '.[] | select(.kind == "function")' # Get function patterns
kit grep . "async function" --pattern "*.ts" --directory "server" # Find similar stylePhase 4: Verify (After Editing)
kit grep . "YOUR_NEW_FUNCTION" # Confirm it exists
kit grep . "TODO|FIXME" --directory "src" # Check for stubsRefresh Index:
uv run --with cased-kit python .github/scripts/kit/bootstrap.py # After major changesDatabase Commands:
bun run prisma:migrate- Create/run migrationsbun run prisma:seed- Seed with development databun run prisma:studio- Prisma Studio GUI (localhost:5555)bun run prisma:reset- Drop + recreate database
Docker & Services:
docker-compose up -d- Start Redis + PostgreSQLdocker-compose logs -f redis- Monitor Redisdocker exec -it discover-redis redis-cli- Redis CLI
Copy & Content Generation:
bun scripts/utils/copywriter.ts --query "your request"- Generate optimized UI copy- See
docs/copywriter-cli.mdfor detailed usage and examples - Use this for: CTAs, buttons, headers, error messages, empty states, and any UI copy
- The tool is tuned specifically for local business directories with UX best practices built-in
AI Review Processing:
- Queue single review:
curl -X POST http://localhost:3010/api/reviews/scan/{businessId} - Bulk queue:
curl -X POST http://localhost:3010/api/reviews/queue-all - Monitor in admin dashboard "AI Reviews" tab
Stripe Setup (Local):
- Set test keys in
.env:STRIPE_SECRET_KEY,STRIPE_PRICE_*IDs - Use Stripe test card:
4242 4242 4242 4242(any future expiry, any CVC) - Optional:
stripe listen --forward-to localhost:3010/api/stripefor webhooks
AI Configuration:
OPENROUTER_API_KEY=sk-or-v1-...- OpenRouter API keyOPENROUTER_MODEL=google/gemini-2.5-flash- Primary AI model- Fallback:
google/gemini-2.5-flash
Code Patterns & Conventions
Naming:
- Files: kebab-case (e.g.,
ListingViewPage.tsx,listing-location-map.tsx) - Components/Classes: PascalCase exports
- Functions/variables: camelCase
- Database fields: snake_case
Component Pattern:
interface ComponentProps {
prop1: string;
prop2?: number;
}
export const Component: React.FC<ComponentProps> = ({ prop1, prop2 }) => {
return <div>{/* content */}</div>;
};API Calls:
- Frontend uses
db.getBusinesses(),db.loginUser()fromsrc/lib/database-client.ts - These call backend REST endpoints in
server/index.ts - TypeScript interfaces in
database-client.tsdefine all data shapes
Form Validation:
- React Hook Form for state management
- Zod schemas for validation (
zodalready imported in contexts)
// ...existing code... // ...existing code... Styling:
- Tailwind CSS v4 utility classes only
- Design tokens in
src/index.css(colors, fonts, animations) - Fonts: Poppins (headings), Inter (body)
- Colors: Primary purple, Secondary amber, Accent teal
Frontend Design & Best Practices
We follow a Component-Driven Development (CDD) approach using the Shadcn/ui philosophy (Radix UI Primitives + Tailwind CSS).
Key Principles:
- Component Ownership: We own our component code (copied into
src/components/ui), allowing full control and customization. - Mobile-First: Design and develop for mobile screens first, then scale up.
- Accessibility (A11y): All components must be accessible (keyboard nav, ARIA roles, contrast). We use Radix primitives to ensure this.
- Styling: Use Tailwind utility classes. Avoid "class hell" by using
cn()utility for conditional classes and component composition.
For a comprehensive guide on our frontend architecture, styling, UX principles, and accessibility standards, please refer to: Frontend Design Overview
Codebase Quirks & Important Notes
// ...existing code...
Before making changes to any file, check for "Note:" comments in the code. These document critical implementation details and quirks that affect how the code should be modified. Key quirks include:
Frontend Quirks
- Verification Status (infoVerified) is Admin-Only
- Files:
src/pages/ListingViewPage.tsx,src/pages/EditListingPage.tsx,src/pages/DashboardPage.tsx,src/components/ListingForm.tsx - Quirk: Business verification status (
infoVerifiedfield) is managed exclusively through admin endpoints, not through the listing form or user-facing toggles. - Impact: Never add verification toggle to the business listing form or allow users to change this field directly.
- Implementation: Always use dedicated admin endpoints to set/unset verification status.
- Files:
- City API Accepts State Code, Not UUID
- File:
src/components/admin/modals/AddCityModal.tsx - Quirk: The API is designed to accept stateId (UUID format), but currently uses state code as a workaround.
- Impact: When integrating with real backend, update this to send proper UUID for state.
- File:
Backend Quirks
- Route Registration Order Matters
- File:
server/index.ts - Quirk: Any special/named routes under
/api/businesses(like/api/businesses/search) must be registered BEFORE the/api/businesses/:iddynamic route. - Impact: If not ordered correctly, special routes get captured by the
:idroute handler. - Implementation: Always register specific routes first, dynamic routes last.
- File:
- Scraped Data is Already Flattened
- File:
server/review/buildReview.ts - Quirk: Scraped data from the website scraper is already a flat
ScrapedDataobject, not source-tracked in the flat structure. - Impact: When processing scraper results, don't expect nested source tracking. Cross-page source metadata is handled separately in
sourceTrackedField. - Implementation: Work directly with the flat structure. Access source tracking via
sourceTrackedFieldinterface separately.
- File:
AI & Async Processing Quirks
- OpenRouter API Used, Not Direct Anthropic Claude
- File:
server/lib/apply-feedback-transform.ts - Quirk: The system uses OpenRouter API (third-party proxy) instead of Anthropic SDK directly.
- AI Providers: Primary =
google/gemini-2.5-flash-lite, Fallback =openrouter/sherlock-think-alpha. - Impact: Must set
OPENROUTER_API_KEY(not Anthropic key), use OpenRouter-compatible OpenAI SDK. - Implementation: Environment variable is
OPENROUTER_API_KEY. SDK: OpenAI v6.8.1 withbaseURL=https://openrouter.ai/api/v1.
- File:
- BullMQ Worker Concurrency Limit
- File:
server/services/review-worker.ts - Quirk: Worker processes max 3 reviews simultaneously per instance.
- Impact: If you need higher throughput, run multiple worker instances (via Docker Compose scaling).
- Implementation: Concurrency set to 3. Each job locks for 2 minutes max. Failed jobs retry 3x with 5s delay.
- File:
- Review Reroll Has Two Mechanisms
- Files:
server/index.ts-/api/reviews/:id/reroll-fieldvs/api/reviews/:id/reroll-change - Quirk:
reroll-fieldtransforms field value directly;reroll-changerequeues full scrape with feedback metadata. - Impact: Use
reroll-fieldfor quick UI feedback transformations,reroll-changefor website re-scraping. - Implementation:
reroll-fieldis synchronous (immediate),reroll-changeis async (full queue job).
- Files:
- Feedback Metadata Stored in rawJson
- File:
server/services/review-worker.ts - Quirk: User feedback for reroll operations stored in
listing_review.rawJson.rerollMetadata. - Impact: When rebuilding review, worker checks for rerollMetadata and applies feedback to target field.
- Implementation: Field: 'fieldName', userFeedback: 'instruction', requestedBy: 'userId', requestedAt: timestamp.
- File:
Database Quirks
- Seed Script Silently Handles Duplicate Users
- Files:
prisma/seed.ts,scraper-worker/prisma/seed.ts - Quirk: The seed script may encounter existing users and silently skips them instead of failing.
- Impact: Running seed multiple times is safe. Duplicates are handled gracefully.
- Implementation: Don't add error handling for "user already exists" when running seed.
- Files:
Build & Configuration Quirks
- Bun 1.3.x Uses Text Format Lock File
- Files:
bunfig.toml,Dockerfile - Quirk: Bun version 1.3.x defaults to text-based bun.lock format (not binary).
- Impact: The lock file is human-readable in version control.
- Implementation: No special handling needed. Document for team members used to binary lock files.
- Files:
- Redis Connection Must Match Environment
- File:
server/jobs/queue-config.ts - Quirk: Redis connection reads from environment: REDIS_HOST, REDIS_PORT, REDIS_PASSWORD, REDIS_DB.
- Impact: Local dev uses
localhost, Docker usesredis(service name). - Implementation: Ensure REDIS_HOST is set correctly before starting worker. Default fallback: redis:6379
- File:
Directory Configuration
Located in src/config/anna.config.ts:
- Brand name, logo, accent color
- Categories taxonomy (15+ default)
- Custom fields schema (text, select, number, URL, phone, email, textarea)
- Site branding and metadata
To create a new directory: pnpm run new:directory
Routing & Pages
/→ HomePage (business search & featured)/login→ LoginPage/register→ RegisterPage/submit-business→ SubmitBusinessPage/admin→ AdminDashboard (submissions, business management)/about→ AboutPage/contact→ ContactPage
Component Responsibilities
Pages:
- HomePage: Search, featured businesses, category/city filters, pagination
- LoginPage/RegisterPage: Email/password authentication
- SubmitBusinessPage: Business submission form with Zod validation
- AdminDashboard: Manage submissions (approve/reject), toggle business featured/verified status
- AboutPage/ContactPage: Static informational pages
Components:
- Navbar: Navigation with auth state display
- FilterSidebar: Category and state/city filter UI
- BusinessCard: Display individual business (rating, verified badge, map link)
- FeaturedBanner: Rotating featured business banner
- Button/Input: Styled form elements
Contexts:
- AuthContext: Global user state (user, login(), logout(), register())
Database Schema (Key Tables)
Business - Listings (name, phone, email, address, category, featured, verified, etc)
verifiedUntil- Verified Badge subscription expiryfeaturedUntil- Boosted Placement expiry (30 days)sponsor- Boolean for Sponsor Slot status
User - Admin/regular users (email, password, role)
Review - User reviews for businesses ListingReview - Staging area for scraped data requiring approval BusinessSubmission - User-submitted business listings pending approval City/State/Category - Taxonomy and location data
StripeSubscription - Active subscriptions (kind, status, listingId)
StripeEvent - Webhook events for idempotent processing
See prisma/schema.prisma for full schema.
AI Review System
Non-Blocking Async Architecture:
- Admin queues reviews via
/api/reviews/scan/:businessIdor/api/reviews/queue-all - API creates database row + enqueues BullMQ job, returns immediately
- Worker processes in background (concurrency: 3 per instance)
- Results appear in admin dashboard when ready (status='ready')
Review Processing Pipeline:
- Website Scraping - Puppeteer visits main + identified pages
- AI Extraction - Vision + text extraction (email, phone, name, description, category)
- Data Normalization - Format validation, field cleaning
- Change Detection - Unified builder compares current vs scraped, generates change IDs
- Confidence Scoring - Per-field confidence (0-100) based on data quality
- Feedback Filtering - Removes user-rejected suggestions from rejectedChange table
- Database Update - Stores review with status='ready', changes, rawJson, normalizedJson
Key Files:
server/services/review-worker.ts- BullMQ worker + async processingserver/services/website-scraper.ts- Puppeteer + 3 AI extraction methodsserver/review/buildReview.ts- Unified change detection & review buildingserver/lib/apply-feedback-transform.ts- Claude field transformation (reroll-field)
Feedback Mechanisms:
reroll-field(POST) - Transform ONE field value with user feedback (synchronous)reroll-change(POST) - Requeue for full scrape with feedback metadata (async)
API Endpoints (Backend)
Listings:
GET /api/businesses- Search/filter with paginationGET /api/businesses/:id- Get single listingPOST /api/businesses- Create listingPATCH /api/businesses/:id- Update listingDELETE /api/businesses/:id- Delete listing
AI Reviews:
POST /api/reviews/scan/:businessId- Queue single review scanPOST /api/reviews/queue-all- Bulk queue (30+ days old)GET /api/reviews/admin/all- Get all reviews with filtersGET /api/reviews/admin/stats- Review statisticsPOST /api/reviews/:id/approve- Approve all changesPOST /api/reviews/:id/reject- Reject all changesPOST /api/reviews/:id/approve-change- Approve single fieldPOST /api/reviews/:id/reject-change- Reject single fieldPOST /api/reviews/:id/reroll-field- Transform field with feedbackPOST /api/reviews/:id/reroll-change- Requeue with feedback metadataGET /api/reviews/:businessId/latest- Get latest review for business
Billing/Stripe:
POST /api/billing/checkout- Create Stripe checkout sessionGET /api/billing/success- Sync subscription after checkoutGET /api/billing/subscriptions- List user's active subscriptionsPOST /api/billing/customer-portal- Stripe customer portal linkPOST /api/stripe- Webhook handler (requires signature)POST /api/billing/cron- Daily cron job for expiration
Analytics:
POST /api/views/pv- Track listing views
Stripe Integration
Revenue Streams:
- Verified Badge ($99/year) - Sets
verifiedUntiltimestamp, enables boosted/sponsor tiers - Boosted Placement ($79/month) - Sets
featuredUntilfor 30-day active period, max 3 per (city, category) - Sponsor Slot ($300/month) - Sets
sponsorflag, exclusive 1 per (city, category)
Webhook Events Handled:
checkout.session.completed- Creates subscription in databasecustomer.subscription.updated- Updates expiry datescustomer.subscription.deleted- Clears subscription flags
Key Functions (server/lib/stripe-helpers.ts):
applyEffect(kind, listingId)- Set Business flags when subscription startsclearEffect(kind, listingId)- Remove flags when subscription endsexpireFeaturedListings()- Cron job to clear expired featured flags
Multi-City Architecture
Subdomains route to different cities: {city}-{state}.localhost:5173
- Parse via
parseSubdomain()insrc/lib/utils.ts - All listings filtered by active city context
- Same codebase runs all cities
Authentication
Better Auth Configuration:
- Session-based authentication via
better-auth - Default demo:
admin@sethrose.dev/admin123 - Role-based access: 'admin' vs 'user'
- Global auth state in AuthContext
Type Safety
- TypeScript strict mode enabled
- Interfaces defined in
src/lib/database-client.ts - All API responses typed
- Zod for runtime validation on forms
- No
anytypes without justification
Quality Standards
- Linting: ESLint must pass (
pnpm run lint) - Type Checking: TypeScript check before build (
pnpm run build) - Code Style: Prettier config in
eslint.config.js - Accessibility: Radix UI for semantic HTML + ARIA
- Performance: Lazy routes, optimized images, Vite HMR
Common Tasks
Add New Listing Field:
- Add to schema in
prisma/schema.prisma - Run
pnpm run prisma:migrate - Update Business interface in
src/lib/database-client.ts - Update form in submission/edit pages
Add New Business Category:
- Update
src/config/anna.config.tscategories array - Seed database:
pnpm run prisma:seed
Debug Database:
pnpm run prisma:studioopens GUI at localhost:5555- View/edit data directly
Deploy:
- Build:
pnpm run build:prod - Start server:
pnpm run start:server - Frontend: Vite static output in
dist/
Key Utilities
src/lib/utils.ts:
cn()- Tailwind class mergerparseSubdomain()- Extract city/stategetCurrentCity()- Get active city contextformatPhoneNumber(),truncateText()- Text formattingisValidEmail(),isValidPhone()- Validationdebounce()- Search input debouncing
External Services
- Google Maps - API via
@googlemaps/js-api-loader(embedded in Location card) - Stripe - Payments via
stripeSDK - Better Auth - Authentication library
Environment Variables (.env)
# Database
DATABASE_URL=postgresql://...
# Redis & BullMQ Job Queue
REDIS_HOST=redis # Docker: "redis", Local: "localhost"
REDIS_PORT=6379
REDIS_PASSWORD= # Optional
REDIS_DB=0
# AI Configuration (OpenRouter)
OPENROUTER_API_KEY=sk-or-v1-...
OPENROUTER_MODEL=google/gemini-2.5-flash
# Stripe (test mode during dev)
STRIPE_SECRET_KEY=sk_test_...
STRIPE_WEBHOOK_SECRET=whsec_...
STRIPE_PRICE_VERIFIED=price_...
STRIPE_PRICE_BOOST=price_...
STRIPE_PRICE_SPONSOR=price_...
# Google Maps
VITE_GOOGLE_MAPS_API_KEY=...
# App URLs
VITE_API_URL=http://localhost:3010
APP_URL=http://localhost:5173Debugging Tips
HMR Issues:
- Restart dev server:
bun run dev
TypeScript Errors:
- Run
bun run buildto check compilation - ESLint catches type issues:
bun run lint
Cache/Build Issues:
bun clean
bun install
bun run buildNext Steps
- Setup:
bun installto install dependencies - Database:
docker-compose up -dfor PostgreSQL + Redis - Migrations:
bun run prisma:migrateto run migrations - Seeding:
bun run prisma:seedfor development data - Development:
bun run dev:all(both frontend + backend) - Environment: Set
.envwith:OPENROUTER_API_KEY=sk-or-v1-...for AI featuresREDIS_HOST=redisfor Docker (orlocalhostfor local Redis)- Stripe test keys if testing payments
- Kit Analysis:
uv run --with cased-kit python .github/scripts/kit/bootstrap.py(auto-loads codebase index for LLM context) - Redis: Verify
docker-composeincludes Redis service for BullMQ - Stripe: Create test products in Stripe Dashboard for 3 revenue streams
Kit Integration for LLM Context
Kit provides intelligent code analysis infrastructure for Claude and other LLMs:
How It Works:
.kit-analysis/directory contains pre-computed symbol index, file tree, and summary.github/instructions/kit-analysis.instructions.mdauto-loads this data for LLMs- When you ask Claude questions about the codebase, it reads the cached data first for instant symbol lookups
- Result: 25-36x faster code understanding with accurate file locations and relationships
Key Files for LLM Usage:
.kit-analysis/symbols.json- When asking "Where is function X?", LLM checks this first.kit-analysis/file_tree.json- For project structure questions.kit-analysis/summary.md- Statistics on complex/frequently-used files
Refresh Analysis When:
- Adding many new functions/classes (>50 symbols)
- Major refactoring or restructuring
- Weekly maintenance
- After merging large PRs
uv run --with cased-kit python .github/scripts/kit/bootstrap.pyDoes 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.

