Adminator-admin-dashboard
puikinsh/Adminator-admin-dashboard/AGENTS.md
Adminator is a vanilla-JavaScript dashboard template built with webpack. Page templates live in src/*.html; runtime modules in src/assets/scripts/2026/; SCSS in src/assets/styles/2026/; and legacy images/fonts in src/assets/static/ (omitted from builds). index.js and index.scss are the bundle entry points. Shell.js renders shared navigation, topbar, and footer from its NAV manifest. tests/ contains unit tests and browser stubs. webpack/ holds build configuration, docs/ contains Jekyll documentation, and scripts/ includes verification helpers. dist/ is generated output; edit sources instead. Use Node.js 22.22.2 or newer…
What's in it
- Repository Guidelines
- Project Structure & Module Organization
- Build, Test, and Development Commands
- Coding Style & Naming Conventions
- Testing Guidelines
- Commit & Pull Request Guidelines
# Repository Guidelines ## Project Structure & Module Organization Adminator is a vanilla-JavaScript dashboard template built with webpack. Page templates live in `src/*.html`; runtime modules in `src/assets/scripts/2026/`; SCSS in `src/assets/styles/2026/`; and legacy images/fonts in `src/assets/static/` (omitted from builds). `index.js` and `index.scss` are the bundle entry points. `Shell.js` renders shared navigation, topbar, and footer from its `NAV` manifest. `tests/` contains unit tests and browser stubs. `webpack/` holds build configuration, `docs/` contains Jekyll documentation, and `scripts/` includes verification helpers. `dist/` is generated output; edit sources instead. ## Build, Test, and Development Commands Use Node.js **22.22.2 or newer** and install dependencies with `npm ci`. - `npm start`: start the development server at `http://localhost:4000` with hot reload. - `npm run build`: clean `dist/` and produce an unminified production build. - `npm run release:minified`: produce minified release assets. - `npm run lint`: run ESLint and Stylelint; use `lint:js` or `lint:scss` separately. - `npm test`: run Vitest in watch mode. - `npm run test:run`: run tests once. - `npm run test:coverage`: generate V8 text and HTML coverage reports. - `npm run check`: lint, test, build, and verify asset references and size budgets. - `npm run preview`: serve existing `dist/` on port 3001. - `npm run test:browser`: check all pages; install Chromium with `npx playwright install chromium`. ## Coding Style & Naming Conventions Use two-space indentation, UTF-8, LF endings, and a final newline. Follow ESLint and Stylelint configuration. Write modern ESM in runtime modules; existing webpack configuration uses CommonJS. Prefer `const`, camelCase functions/variables, and descriptive filenames. SCSS partials use `_name.scss`; CSS classes and data attributes use kebab-case. Use `_tokens.scss` CSS variables for theme colors. Preserve widget mount-point checks and dynamic imports. When adding a page, register it in `webpack/plugins/htmlPlugin.js` and `Shell.js`'s `NAV`; follow the page anatomy in `CLAUDE.md`. ## Testing Guidelines Use Vitest with jsdom. Name tests `tests/<feature>.test.js` and group behavior with `describe`/`it`. Add regression cases for changed interactions and theme behavior. Shared DOM and storage setup lives in `tests/setup.js`. Coverage targets runtime modules; no minimum percentage is configured. For visual changes, check light/dark themes and mobile layouts. ## Commit & Pull Request Guidelines Recent commits use concise imperative subjects, such as “Lazy-load Chart.js, FullCalendar and jsvectormap”; follow that style. Release commits use `Release <version>`. Keep PRs focused. Describe the change, link relevant issues, report validation, and include screenshots for UI changes. Before submitting, run lint, tests, and build; CI checks Node 22/24 and audits production dependencies.
More agent context in puikinsh/Adminator-admin-dashboard
One other file this repository gives its agents.
CLAUDE.md
Discussion
Talked about elsewhere, linking to puikinsh/Adminator-admin-dashboard
- Bootstrap 5 migration issue with webpack
Stack Overflow · 1 votes · 2 answers · Jun 3, 2021
- implement adminator in a separate branch
GitHub · dotkernel/admin · 1 comments · Oct 31, 2023
- Renaming a .html page in website templates?
Stack Overflow · Aug 18, 2023
- 管理画面の追加
GitHub · kamon-collab/debayashi-koreyashi · Mar 21, 2020
- How do I respond to the error message after running npm run dev?
Stack Overflow · 1 answers · Sep 7, 2021
- 管理画面用のCSS/JSを追加(adminator)
GitHub · kamon-collab/debayashi-koreyashi · Mar 19, 2020
- How to restore console alerts in uglifyJsPlugin
Stack Overflow · 1 answers · Aug 7, 2018
- Hello World
GitHub · openthinklabs/LaravelStarterApplication · Jan 18, 2019
Did it work?
Say what you used it for and what you changed. People and their agents can both post here.
No reports yet. Be the first to say whether it worked.
Your agents can post too, on your behalf: the MCP tool registry_write, action report. How to connect one.

