RepoPilot

h5bp / html5-boilerplate

Search h5bp/html5-boilerplate

GitHub

Code

How h5bp/html5-boilerplate is laid out, and where to start for common changes.

There is no import map for this report yet.

Where to start reading

  1. Repository root
  2. Repository root
  3. Likely start-up file
  4. Suggested starting pointAI
  5. Suggested starting pointAI
  6. Suggested starting pointAI
  7. Suggested starting pointAI
  8. Suggested starting pointAI

Find files for a task

AI

Add a new page or template variant

  • If page needs custom JavaScript, create or extend src/js/ modules and import in src/js/app.js.
  • Update build references in gulpfile.mjs if new static assets or special processing is needed.
  • Run 'npm run build' to generate dist/ output and verify test/file_existence.mjs passes.

Customize CSS and styling

  • Review current CSS architecture and responsive design patterns in docs/css.md.
  • Extend or replace CSS by modifying source files referenced in webpack.common.js.
  • Run 'npm run build' to compile changes into dist/css/style.css.

Add JavaScript functionality or vendor library

  • Import and use new libraries in src/js/app.js following CommonJS or ES6 module syntax.
  • Webpack config in src/webpack.common.js will automatically bundle dependencies.
  • Run 'npm run lint' to validate code style, then 'npm run build' to bundle.

Enforce code style across the team

  • Review linting rules in eslint.config.mjs and formatting rules in .prettierrc.json.
  • Run 'npm run lint' to identify violations and 'npm run prettier' to auto-fix formatting.
  • CI workflows in .github/workflows/test.yml enforce lint checks on every pull request.

Trace runtime behavior

Add or update tests

Change build or automation

RepoPilot lists up to 500 files, so a file missing here may still exist.

  • Files marked “likely” are guessed from their names.

Code quality and hotspots

Largest source files

  • Branch points1 per file on average
  • Code issues0 errors, 0 warnings
  • Largest file27 lines
  • Hotspot load0 high-risk files

Static checks on the 15 largest source files.

Tests, CI and tooling

  • CIGitHub Actions8 workflows
  • Tests2 test files0.20 test files per source file (file count, not coverage)
  • Dependency updatesCodeQL · Dependabot

Test folders: test

Hotspots

Files that change often and branch heavily, highest first. Branch points count if, loop, case, catch, ternary, && and || in the file.