FixIt
Copilot instructions1.1k starsChanged 15 months agoMITView on GitHub
This document defines the detailed coding standards for the FixIt theme project. For project overview, architecture, and development commands, see CLAUDE.md. Service-class architecture with direct constructor calls: Follows Conventional Commits: Types: feat, fix, refactor, chore, docs, perf, style, test, ci, build Scopes: workflow, archetypes, assets, i18n, layouts, config, or specific directories. Pre-commit runs: versioning (dev mode), typecheck, lint-staged (eslint --fix on staged files).
Adopted by
Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data
Who's talking about hugo-fixit/FixIt
- @aetos.me“なんで Japanese が「しろうと」なんだよ。 github.com/hugo-fixit/F...”Bluesky · Apr 19, 2026 · 2 likes
- GGhua/blog“Bump themes/FixIt from `a73416e` to `3f50661`”GitHub · Nov 1, 2026
- mulberyn/blog“Bump themes/FixIt from `a8961f3` to `3f50661`”GitHub · Nov 1, 2026
- mulberyyn/fixit-starter“Bump themes/FixIt from `a8961f3` to `3f50661`”GitHub · Nov 1, 2026
- wangzhiman123/blog“Bump themes/FixIt from `22d86c1` to `d4509f5`”GitHub · Oct 29, 2026
The biggest 5 of 51 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 51
Talked about on GitHub and Bluesky (51 times).
On GitHub · 50
- Nov 1, 2026Bump themes/FixIt from `a73416e` to `3f50661` — GGhua/blog0 reactions · 1 comment
- Nov 1, 2026Bump themes/FixIt from `a8961f3` to `3f50661` — mulberyn/blog0 reactions · 1 comment
- Nov 1, 2026Bump themes/FixIt from `a8961f3` to `3f50661` — mulberyyn/fixit-starter0 reactions · 1 comment
- Oct 29, 2026Bump themes/FixIt from `22d86c1` to `d4509f5` — wangzhiman123/blog0 reactions · 2 comments
- Oct 1, 2026build(deps): bump themes/FixIt from `b971a2c` to `99108d5` — nek0x1a/nek0x1a.github.io0 reactions · 3 comments
45 more on GitHub
- Oct 1, 2026Bump themes/FixIt from `a73416e` to `c089db9` — GGhua/blog0 reactions · 2 comments
- Oct 1, 2026Build(deps): Bump themes/FixIt from `b971a2c` to `a16ed3d` — hugo-fixit/hugo-fixit-starter10 reactions · 1 comment
- Aug 1, 2026build(deps): bump themes/FixIt from `a5a7b98` to `a73416e` — nek0x1a/nek0x1a.github.io0 reactions · 3 comments
- Aug 1, 2026Bump themes/FixIt from `658f03d` to `a73416e` — GGhua/blog0 reactions · 1 comment
- Aug 1, 2026Build(deps): Bump themes/FixIt from `a5a7b98` to `a73416e` — hugo-fixit/hugo-fixit-starter10 reactions · 1 comment
- Jul 11, 2026build(deps): bump themes/FixIt from `52ab989` to `6188165` — nek0x1a/nek0x1a.github.io0 reactions · 2 comments
- Jul 1, 2026Bump themes/FixIt from `994a5d4` to `0f35108` — JohanChane/my-blog0 reactions · 2 comments
- Jul 1, 2026Bump themes/FixIt from `eeff00f` to `658f03d` — GGhua/blog0 reactions · 1 comment
- Jul 1, 2026Bump themes/FixIt from `a9b380c` to `658f03d` — la-syh/la-syh-github.io0 reactions · 1 comment
- Jul 1, 2026Build(deps): Bump themes/FixIt from `1012fdc` to `994a5d4` — hugo-fixit/hugo-fixit-starter10 reactions · 1 comment
- Jun 3, 2026Bump themes/FixIt from `4ffd531` to `eeff00f` — GGhua/blog0 reactions · 1 comment
- Jun 3, 2026Bump themes/FixIt from `a9b380c` to `eeff00f` — la-syh/la-syh-github.io0 reactions · 2 comments
- Jun 1, 2026Build(deps): Bump themes/FixIt from `03d81f0` to `eeff00f` — hugo-fixit/hugo-fixit-starter10 reactions · 1 comment
- May 29, 2026Bump themes/FixIt from `0fe8e10` to `a4a0eb1` — attajak/hugo-fixit-bundle-gitmodule0 reactions · 1 comment
- May 17, 2026Bump themes/FixIt from `97ddee0` to `a9b380c` — AuDHDivergent/audhdivergent.github.io0 reactions · 2 comments
- May 15, 2026Bump themes/FixIt from `297670c` to `92b0a6b` — attajak/hugo-fixit-bundle-gitmodule0 reactions · 1 comment
- May 1, 2026Bump themes/FixIt from `e2436a2` to `92b0a6b` — ev1l0o4g/ev1l0o4g.github.io0 reactions · 1 comment
- Apr 1, 2026Bump themes/FixIt from `9e946c6` to `92b0a6b` — ltqk/ai_test0 reactions · 1 comment
- Mar 1, 2026Bump themes/FixIt from `053e5b4` to `2a5bd26` — TypeCombinator/TypeCombinator.github.io0 reactions · 3 comments
- Mar 1, 2026Bump themes/FixIt from `9e946c6` to `93d0b52` — ltqk/ai_test0 reactions · 2 comments
- Mar 1, 2026Bump themes/FixIt from `3f66669` to `2a5bd26` — miiz711/miiz7110 reactions · 1 comment
- Mar 1, 2026Bump themes/FixIt from `f5fb989` to `2a5bd26` — TranDung6129/TranDung6129.github.io0 reactions · 1 comment
- Feb 1, 2026Bump themes/FixIt from `053e5b4` to `9e946c6` — TypeCombinator/TypeCombinator.github.io0 reactions · 2 comments
- Feb 1, 2026Bump themes/FixIt from `3f66669` to `9e946c6` — miiz711/miiz7110 reactions · 2 comments
- Feb 1, 2026Bump themes/FixIt from `f5fb989` to `9e946c6` — TranDung6129/TranDung6129.github.io0 reactions · 2 comments
- Feb 1, 2026Bump themes/FixIt from `c3cba94` to `9e946c6` — yamadatt/hugo-fixit0 reactions · 1 comment
- Jan 1, 2026Bump themes/FixIt from `f5fb989` to `44b1271` — TranDung6129/TranDung6129.github.io0 reactions · 2 comments
- Jun 1, 2025Bump themes/FixIt from `3f66669` to `cfe1d7a` — salvari/fixit_2025010 reactions · 1 comment
- Jun 1, 2025Bump themes/FixIt from `2b936cb` to `cfe1d7a` — salvari/fixtit_20250 reactions · 1 comment
- May 1, 2025Bump themes/FixIt from `094a33e` to `a85a665` — DesmonXD/gitweb0 reactions · 1 comment
- May 1, 2025Bump themes/FixIt from `0781670` to `a85a665` — gzbigegg/agentic0 reactions · 1 comment
- Feb 1, 2025Bump themes/FixIt from `094a33e` to `3f66669` — fengguowudi/fengguowudi.github.io0 reactions · 1 comment
- Jan 2, 2025Adicionar Guia de Contribuição — pydatamanaus/pydatamanaus.github.io0 reactions · 1 comment
- Jan 1, 2025Bump themes/FixIt from `c0b9a51` to `1e59a68` — geekstormm/geekstormm.github.io0 reactions · 1 comment
- Nov 1, 2024Bump themes/FixIt from `51d64cb` to `0c0fb03` — deepreadingnet/hugo-fixit0 reactions · 1 comment
- Jul 26, 2024请问这个服务会长期保持可用性吗? — evannotfound/vercount0 reactions · 9 comments
- Jul 1, 2024Bump themes/FixIt from `c9af0b9` to `9d1ab1a` — Weikunzh/kkuner.github.io0 reactions · 1 comment
- May 1, 2024Bump themes/FixIt from `9eb18b9` to `fd0b171` — sunnywanggit/site0 reactions · 1 comment
- Mar 1, 2024Bump themes/FixIt from `8b2dd97` to `c9af0b9` — Charles2029/charles20291.github.io0 reactions · 1 comment
- Mar 1, 2024Bump themes/FixIt from `95c8113` to `c9af0b9` — salvari/newFixItgit0 reactions · 1 comment
- Feb 1, 2024Bump themes/FixIt from `95c8113` to `b7dba07` — VonGHemsidor/kranar-online0 reactions · 1 comment
- Jan 8, 2024Bump themes/FixIt from `8bb2a35` to `38eb829` — zengrunzi/zengrunzi.github.io0 reactions · 1 comment
- Jan 1, 2024Bump themes/FixIt from `b5208b3` to `8b2dd97` — CGNAV/cf0 reactions · 1 comment
- Nov 30, 2023Bump themes/FixIt from `95c8113` to `8aa3cf9` — xilet/xilet.github.io0 reactions · 1 comment
- Aug 1, 2023Bump themes/FixIt from `ff95cfa` to `3443e07` — 1an8r0wn/hugo-fixit0 reactions · 1 comment
On Bluesky · 1
- Apr 19, 2026なんで Japanese が「しろうと」なんだよ。 github.com/hugo-fixit/F... — @aetos.me2 likes and reposts · 1 reply
Where files are headingNew Copilot instructions files have more rules about branches and pull requests, and fewer about code style.
Of the Copilot instructions files we read, the 2,336 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repositoryOne other file it gives its agents.
- CLAUDE.mdCLAUDE.md
The file
Show its rules and text
We split this copilot-instructions.md into the rules it gives an agent
16 rules. About 0 are common, 7 are distinctive, and 9 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 16
Use CSS variables for theme switching support
- Distinctive: line 17
Prefer relative units (rem, em, %) over absolute units
- Distinctive: line 18
Use SCSS variables for colors — no hardcoded values
- Distinctive: line 19
Keep selector nesting shallow
- Very specific: line 23
Use UnoCSS atomic classes for common utilities (hidden, me-1, text-center, etc.)
- Very specific: line 28
Run pnpm unocss after modifying uno.config.ts or templates that use UnoCSS classes
- Very specific: line 55
Use ES6 # private fields — not TypeScript private with _ prefix
- Distinctive: line 56
Keep modules focused: one module per file, one service interface per module
- Very specific: line 57
Import the shared eventBus singleton from core/event-bus for cross-module communication
- Very specific: line 73
Translation: Use T function for i18n ({{ T "header.switchTheme" }})
- Very specific: line 74
Whitespace: Use {{- -}} trim markers to control whitespace output
- Very specific: line 78
Use partialCached for expensive partials that don't change per page
- Very specific: line 79
Use .Site.Store for shared computed values (e.g.
- Very specific: line 80
Check hugo.IsProduction before adding analytics or minification
- Distinctive: line 103
Use progressive enhancement for advanced features
- Distinctive: line 104
Prefer feature detection over browser detection
≈ “Common” is an estimate: at least 1 in 5 of the 3,779 Copilot instructions files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
FixIt Coding Standards and Guidelines
This document defines the detailed coding standards for the FixIt theme project. For project overview, architecture, and development commands, see CLAUDE.md.
SCSS Coding Standards
Naming
- CSS classes: BEM or semantic naming (
header-desktop,menu-item,post-tag) - SCSS variables: hyphen-separated, semantic (
$global-font-family,$code-background-color) - CSS custom properties: prefixed with
fi-/--fi-
SCSS Guidelines
- Use 2-space indentation
- Use CSS variables for theme switching support
- Prefer relative units (rem, em, %) over absolute units
- Use SCSS variables for colors — no hardcoded values
- Keep selector nesting shallow
UnoCSS Guidelines
- Use UnoCSS atomic classes for common utilities (
hidden,me-1,text-center, etc.) - Theme colors:
bg-primary,text-success,text-danger, etc. (mapped via@themeinuno.config.ts) - Responsive:
sm:(>=680px),md:(>=960px),lg:(>=1200px),xl:(>=1440px). Usemax-sm:for xs (<680px) - Wrap SVG elements with
<!-- @unocss-skip-start -->/<!-- @unocss-skip-end -->to avoid false positives fromdattribute values - Dynamically generated classes (e.g.,
order-*) must be added tosafelistinuno.config.ts - Run
pnpm unocssafter modifyinguno.config.tsor templates that use UnoCSS classes
TypeScript Coding Standards
Architecture
Service-class architecture with direct constructor calls:
TypedEventBus(core/event-bus.ts) — Module-level singleton (eventBus) wrapping DOMCustomEventswith typed event map.- Service interfaces (
core/tokens.ts) — Typed contracts for each module (CoreService,ThemeService,CodeService, etc.). - Module classes (
modules/*.ts) — Each module implements its service interface. Dependencies are constructor-injected.
Module Pattern
export class ExampleModule implements ExampleService {
#privateState: any // ES6 # private fields, not _ prefix
constructor(private readonly core: CoreService) {}
publicMethod(): void { /* ... */ }
#privateHelper(): void { /* ... */ }
}Key Rules
- Use ES6
#private fields — not TypeScriptprivatewith_prefix - Keep modules focused: one module per file, one service interface per module
- Import the shared
eventBussingleton fromcore/event-busfor cross-module communication - Constructor injection for dependencies — no global state access
window.fixitexposes a typed public API (FixItPublicAPI) for user custom scripts- Comment style: follow TSDoc conventions
Utilities
- Pure functions only in
utils/— no side effects, no DOM state - Re-export everything through
utils/index.ts
Hugo Template Standards
Conventions
- Variable naming: camelCase (
$footerConfig,$fingerprint) - Comments: Hugo syntax
{{- /* comment */ -}} - Translation: Use
Tfunction for i18n ({{ T "header.switchTheme" }}) - Whitespace: Use
{{- -}}trim markers to control whitespace output
Hugo Template Guidelines
- Use
partialCachedfor expensive partials that don't change per page - Use
.Site.Storefor shared computed values (e.g. fingerprint) - Check
hugo.IsProductionbefore adding analytics or minification
Git Workflow
Commit Convention
Follows Conventional Commits:
<type>(<scope>): <subject>Types: feat, fix, refactor, chore, docs, perf, style, test, ci, build
Scopes: workflow, archetypes, assets, i18n, layouts, config, or specific directories.
Pre-commit Hooks
Pre-commit runs: versioning (dev mode), typecheck, lint-staged (eslint --fix on staged files).
Browser Compatibility
- Target modern browsers
- Use progressive enhancement for advanced features
- Prefer feature detection over browser detection
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

