Skip to content

a skills for building modern JS tooling and frameworks

Notifications You must be signed in to change notification settings

farming-labs/fm-skills

Repository files navigation

Framework Skills

A collection of framework-agnostic AI skills for understanding & implementing modern web development fundamentals.

Purpose

These skills help AI assistants understand:

  • How web applications are architected (SPA, MPA, hybrid)
  • Build pipelines, bundling, code splitting, and optimization
  • Different rendering strategies and when to use each
  • SEO implications of architectural decisions
  • Universal JavaScript and cross-platform deployment (Nitro, H3, edge runtimes)
  • Middleware patterns for request/response processing (auth, CORS, rate limiting)
  • Developer experience: HMR, dev servers, error overlays, and modern tooling
  • How meta-frameworks solve common problems
  • Hydration, routing, and other core concepts

Rather than framework-specific instructions, these skills provide the conceptual foundation needed to make informed decisions and understand any meta-framework.

Skills Overview

Skill Description
web-app-architectures SPA vs MPA fundamentals, hybrid architectures
rendering-patterns CSR, SSR, SSG, ISR, Streaming
seo-fundamentals SEO for web apps, Core Web Vitals, crawling
hydration-patterns Hydration, islands architecture, resumability
meta-frameworks-overview Next.js, Nuxt, SvelteKit, Astro, Remix, Qwik
routing-patterns Client vs server routing, file-based routing
state-management-patterns Client state, server state, URL state, caching
data-fetching-patterns Fetch patterns, caching, loading states
build-pipelines-bundling Bundling, code splitting, tree shaking, build optimization
universal-javascript-runtimes Nitro, H3, unenv, web standards, cross-platform deployment
middleware-patterns Server/edge middleware, request pipelines, auth, CORS, rate limiting
developer-experience HMR, dev servers, Vite architecture, error overlays, fast refresh

Learning Path

For best understanding, read the skills in this order:

1. web-app-architectures        (Foundation: SPA vs MPA)
        ↓
2. build-pipelines-bundling     (How code is transformed and bundled)
        ↓
3. developer-experience         (HMR, dev servers, Vite, fast tooling)
        ↓
4. rendering-patterns           (When/where HTML is generated)
        ↓
5. hydration-patterns           (How static becomes interactive)
        ↓
6. routing-patterns             (How navigation works)
        ↓
7. data-fetching-patterns       (How to load data)
        ↓
8. state-management-patterns    (Where to store data)
        ↓
9. seo-fundamentals             (Search engine optimization)
        ↓
10. universal-javascript-runtimes (Deploy anywhere: edge, serverless, Node)
        ↓
11. middleware-patterns          (Request/response pipelines, auth, CORS)
        ↓
12. meta-frameworks-overview     (How frameworks implement all of the above)

Installation

Via skills.sh

You can also install using skills.sh:

npx skills add farming-labs/fm-skills

For Cursor IDE

Copy to your personal skills directory:

# Personal skills (available in all projects)
cp -r fm-skills ~/.cursor/skills/

# Or symlink
ln -s /path/to/fm-skills ~/.cursor/skills/fm-skills

For Project-Specific Use

Copy to your project:

cp -r fm-skills .cursor/skills/

Usage

Once installed, Cursor will automatically suggest these skills when relevant topics are discussed. For example:

  • Asking "Should I use SSR or SSG?" will trigger rendering-patterns
  • Asking "How do SPAs handle routing?" will trigger web-app-architectures and routing-patterns
  • Asking "How do I improve SEO for my React app?" will trigger seo-fundamentals

Skill Structure

Each skill follows the standard format:

skill-name/
└── SKILL.md          # Main content with YAML frontmatter

Contributing

Contributions welcome! Each skill should be:

  1. Framework-agnostic: Explain concepts, not framework-specific APIs
  2. Concise: Under 500 lines, link to external resources for depth
  3. Practical: Include decision matrices and code examples
  4. Connected: Reference related skills for deeper understanding

License

MIT License - Feel free to use, modify, and distribute.

About

a skills for building modern JS tooling and frameworks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published