Skip to content

nickgallick/perlantir-fleet / workspace-forge/skills/framework-source-code

framework-source-code

Unverified

Index of cloned framework repos and how to use them for review validation.

Framework Source Code Index

Local Repos (200MB total, read-only reference)

FrameworkPathTS FilesUse For
Anthropic JS SDKrepos/anthropic-sdk-js177Claude API calls, streaming, tool use patterns
Anthropic Python SDKrepos/anthropic-sdk624 pyCross-reference Python SDK patterns
Expo (router + secure-store)repos/expo401expo-router, expo-secure-store, React Native
Fastifyrepos/fastify35Server framework, plugin system, validation
Next.jsrepos/nextjs1,588App router, server components, caching, API routes
OWASP Cheat Sheetsrepos/owasp—Security review bible (markdown, not code)
Reactrepos/react6Core hooks, reconciler internals
Supabase JSrepos/supabase-js270Client SDK, auth, RLS, realtime patterns
Tailwind CSSrepos/tailwindcss300Utility class system, config
TypeScriptrepos/typescript245Compiler internals, type system
Zodrepos/zod389Validation, schema patterns, error handling

Web Fetch Fallback (use for files outside local sparse checkout)

For supabase server patterns, edge functions, or any specific file not in local repos:

# Supabase edge functions are now LOCAL:
# repos/supabase/examples/edge-functions/
# repos/supabase/apps/docs/ (full Supabase docs)

# Next.js specific files
web_fetch("https://raw.githubusercontent.com/vercel/next.js/canary/packages/next/src/...")

# React specific source
web_fetch("https://raw.githubusercontent.com/facebook/react/main/packages/react/src/...")

# Expo packages not in local clone
web_fetch("https://raw.githubusercontent.com/expo/expo/main/packages/expo-notifications/src/...")

Forge ALWAYS has access to any framework's source — local clone for fast access, web_fetch as complete fallback.

How to Search Local Repos

# Find how a specific function works
grep -r "functionName" repos/nextjs/packages/next/src/ --include="*.ts" -l

# Find security patterns
grep -r "sanitize\|escape\|validate\|csrf\|xss" repos/supabase-js/src/ --include="*.ts" -l

# OWASP cheat sheet for a specific topic
ls repos/owasp/cheatsheets/ | grep -i "auth\|sql\|xss"
cat repos/owasp/cheatsheets/Authentication_Cheat_Sheet.md

OWASP Cheat Sheets Available

ls repos/owasp/cheatsheets/ | head -30

Key ones: Authentication, SQL_Injection, XSS_Filter_Evasion, CSRF_Prevention, Input_Validation, Secrets_Management, Session_Management, Authorization_Testing

Changelog

  • 2026-03-20: Supabase monorepo restored (79GB free on disk). Full edge-functions + auth-helpers + docs. Total: 754MB.
receiving-code-reviewobra/superpowersUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementationStars: 318kUpdated Claude CodeCodexUnverifiedInstall
requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirementsStars: 318kUpdated Claude CodeCodexUnverifiedInstall
using-git-worktreesobra/superpowersUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallbackStars: 318kUpdated Claude CodeCodexUnverifiedInstall
verification-before-completionobra/superpowersUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions alwaysStars: 318kUpdated Claude CodeCodexUnverifiedInstall