.cursor/skills/github-push/SKILL.md
Project-specific workflow for building and pushing to GitHub. Use when the user asks to "build and push", "push to GitHub", or similar. Ensures build runs first, correct files are staged, and push completes to origin.
npx skillsauth add ripgraphics/authorsinfo github-pushInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill defines the build-and-push-to-GitHub workflow for this project. Use it whenever the user requests a build and push, or to push changes to GitHub.
npm run build and confirm it succeeds. Do not push if the build fails.v0-4-11-2025-authors-info-2 or equivalent).; to chain commands, not &&. Prefer separate commands when unsure..env, .env.local, or other secrets.npm run build
npm run lint / npm run types:check as needed.git status
node_modules, *.log, or env files.Stage only what belongs in the commit:
app/, components/, lib/, types/, utils/, hooks/, supabase/migrations/*.sql, .agent/skills/, config/docs relevant to the change.node_modules/, .env*, *.log, debug scripts (e.g. scripts/debug-*.ts, scripts/check-*.ts unless they are permanent tooling), script-results.json, test-output.txt, and other local/temporary artifacts.Use explicit paths:
git add <path1> <path2> ...
Or add by directory, e.g.:
git add app/api/activities/route.ts components/entity-feed-card.tsx supabase/migrations/20260121000700_fix_validate_post_data_visibility.sql
git commit -m "Short summary of changes
- Bullet point 1
- Bullet point 2 (if relevant)"
git push origin main
main unless the user works on another branch; then use that branch name.git pull --rebase origin main (or the current branch), resolve any conflicts, then push again.npm run build
git status
git add <paths>
git commit -m "Your message"
git push origin main
npm run build (Next.js).npm run db:migrate supabase/migrations/<file>.sql (see docs/scripts/HOW_TO_RUN_MIGRATIONS.md). Do not run migrations as part of push unless the user explicitly asks.origin; default branch main.npm run build succeeds.git push origin main (or target branch) completes successfully.tools
Webpack build optimization expert with deep knowledge of configuration patterns, bundle analysis, code splitting, module federation, performance optimization, and plugin/loader ecosystem. Use PROACTIVELY for any Webpack bundling issues including complex optimizations, build performance, custom plugins/loaders, and modern architecture patterns. If a specialized expert is a better fit, I will recommend switching and stop.
development
Web application security expert. OWASP Top 10, XSS, SQLi, CSRF, SSRF, authentication bypass, IDOR. Use for web app security testing.
testing
Vitest testing framework expert for Vite integration, Jest migration, browser mode testing, and performance optimization
tools
Vite build optimization expert with deep knowledge of ESM-first development, HMR optimization, plugin ecosystem, production builds, library mode, and SSR configuration. Use PROACTIVELY for any Vite bundling issues including dev server performance, build optimization, plugin development, and modern ESM patterns. If a specialized expert is a better fit, I will recommend switching and stop.