Agent skill · software engineering · aradotso
mike-ai-legal-platform
mike-ai-legal-platform — an agent skill for coding agents.
Why this skill is useful
Provides specific integration patterns and environment configurations for setting up a legal document processing platform using Next.js and Express.
What it needs
Requires libreoffice, npm installed locally. Requires anthropic, openai, supabase account access. About 4k tokens when loaded. Last updated 2026-07-09. 70 stars on the source repository.
What this skill does
mike/ ├── frontend/ # Next.js application ├── backend/ # Express API, Supabase access, document processing │ └── migrations/ │ └── 000oneshotschema.sql # Fresh DB schema bash Clone the repository git clone https://github.com/willchen96/mike.git cd mike Install dependencies for both services npm install --prefix backend npm install --prefix frontend Copy environment files cp backend/.env.example backend/.env cp frontend/.env.local.example frontend/.env.local backend/migrations/000oneshotschema.sql env Supabase SUPABASEURL=https://your-project.supabase.co SUPABASESERVICEROLEKEY=$SUPABASESERVICEROLEKEY S3-compatible storage (e.g. Cloudflare R2) S3ENDPOINT=$S3ENDPOINT S3BUCKET=$S3BUCKET S3ACCESSKEYID=$S3ACCESSKEYID S3SECRETACCESSKEY=$S3SECRETACCESSKEY S3REGION=$S3REGION AI Model Provider(s) — enable at least one OPENAIAPIKEY=$OPENAIAPIKEY ANTHROPICAPIKEY=$ANTHROPICAPIKEY Server PORT=4000 env NEXTPUBLICSUPABASEURL=https://your-project.supabase.co NEXTPUBLICSUPABASEANONKEY=$NEXTPUBLICSUPABASEANONKEY NEXTPUBLICAPIURL=http://localhost:4000 bash Start backend (Express API on port 4000) npm run dev --prefix backend Start frontend (Next.js on port 3000) npm run dev --prefix frontend bash Build checks npm run build --prefix backend npm run build --prefix frontend Lint npm run lint --prefix frontend bash sudo apt-get install -y libreoffice typescript import { createClient } from '@supabase/supabase-js'; const supabase = createClient( process.env.SUPABASEURL!, process.env.SUPABASESERVICEROLEKEY! ); // Fetch documents for a user const { data, error } = await supabase .from('documents') .select('') .eq('userid', userId); typescript import { createClientComponentClient } from '@supabase/auth-helpers-nextjs'; const supabase = createClientComponentClient(); // Sign in const { data, error } = await supabase.auth.signInWithPassword({ email: process.env.NEXTPUBLICUSEREMAIL, password: process.env.NEXTPUBLICUSERPASSWORD, }); // Get current session const { data: { session } } = await supaba …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills aradotso/mike-ai-legal-platform