Files
build_webstatic/.hermes/skills.md
T
gc-dev-afjd eb098f9ff3 feat: Change license from MIT to Apache-2.0
- Added LICENSE.md file with Apache License 2.0 text.
- Created NOTICE file for attribution of third-party components.
- Updated README.md to reflect the new license and included details about the Apache-2.0 license.
- Documented the license change in the diary entry for July 12, 2026.
- Updated installation instructions in getting-started.md to reflect per-user installation.
- Added reusable license header to all source files.
- Updated various documentation files to mention the new Apache-2.0 license.
- Changed legal mentions in example content to reflect the new license.
2026-07-12 19:29:20 +02:00

1.2 KiB

GitCover.WebStaticBuilder — Agent Skills

Quelle der Wahrheit für Agenten-Kollaboration an diesem Tool.

Was das Tool ist

Eigenständiger Static-Site-Generator (C#/.NET 10, Assembly webstatic), Apache-2.0. Kein Python. Suchindex via npx pagefind (optional). Früher Submodul der GCBoK-Website (www/build), jetzt unter /opt/GitCover/webstatic.

Kanonischer Build/Verify

dotnet build -c Release
dotnet bin/Release/net10.0/webstatic.dll build --env work --verbose
dotnet bin/Release/net10.0/webstatic.dll serve --port 8000

Konventionen

  • Namespace GitCover.WebStaticBuilder; Program.cs braucht using GitCover.WebStaticBuilder;.
  • Package-Versionen explizit pinnen; <ManagePackageVersionsCentrally>false</ManagePackageVersionsCentrally> gesetzt.
  • Pfade generisch über Directories + BuildConfig.Paths (nie www/ hartkodieren).
  • i18n via {{ i18n.* }} + i18n.json (Fallback EN).
  • Config-Priorität: CLI > webstatic.json > Defaults.

Bekannte Fallstricke

  • NU1015 → Version pinnen. CS0103 in Program.cs → using. CS8361 → Ternär in Klammern.
  • BuildSectionsHtml gibt string zurück (nicht StringBuilder) für .Replace.

Struktur

plans/ docs/ diary/ src/ tests/ webstatic.example/ install.sh LICENSE