Frontend Tooling & Builds
Set up and maintain a modern frontend project: package management, a Vite dev server and production build, linting and formatting, and AI coding assistants held to the same quality gates.
4 objectives 6 steps about 140 min
Learn it step by step
Read the lessons in order, try the practice checks, then prove the skill with the knowledge check.
This skill page is a public outline. Its lessons and knowledge check appear here as subject-matter experts approve them.
Learning objectives
- Manage dependencies with npm or pnpm: package.json scripts, semantic-version ranges, committed lockfiles, dev vs runtime dependencies, and vulnerability audits.
- Scaffold and configure a Vite project and explain what the dev server and the production build do (module graph, bundling, minification, content hashing, source maps, public environment variables).
- Enforce code quality with an ESLint flat config, Prettier and a Vitest test script, wired into npm scripts so a failing check blocks a commit or merge.
- Use an AI coding assistant within the project's guardrails: supply repository context and acceptance criteria, review and test every generated change before committing it, and keep secrets and restricted code out of prompts.
Lesson plan
6 steps, about 140 min · 5 of 5 lessons available so far
- Packages, Versions and Lockfiles Concept · 20 min
- Inside a Vite Project: Dev Server, Production Build and Composed Apps Worked example · 30 min
- Linting, Formatting and a Test Runner as Guardrails Worked example · 20 min
- Lab: From Empty Folder to a Linted, Tested, Built Project Lab · 30 min
- Pairing with an AI Coding Assistant: Context, Review and Verification Worked example · 25 min
- Check: Read a package.json, a Build Report and an AI-Generated Diff Knowledge check · 8 questions
Practise it
Move the vanilla shopping list into a Vite project with a committed lockfile, npm scripts for dev, build, lint, format and test, an ESLint flat config that fails on unused variables, one Vitest test for the list's filter function, and a short note explaining each file in the production build output. Then have an AI assistant add a sort option against a failing test you wrote first, and submit the reviewed diff with notes on what you corrected.
Build it from scratch
Practice builds that exercise this skill by re-creating a real technology.
- Build your own Module BundlerIntermediate · 4–8 h
- Build your own Package ManagerIntermediate · 6–12 h
References
Hard prerequisites
None.
Unlocks
Nothing depends on this skill yet.
On these roadmaps
Progress and evidence for this skill are shared across all of them.