Skip to main content

monolith-static-assets

Use when adding or changing CSS/JS/images and wiring static assets into templates in this embedded-filesystem monolith.

Zur Installation springen

Quellinformationen

Repository
cggonzal/monolith
Letzte Quellaktivität
14. Februar 2026 um 03:11
Erkannte Sprache von SKILL.md
Englisch
Sterne
0
Forks
0

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.

SKILL.md wird angezeigt

SKILL.md
Quellanweisungen · Schreibgeschützte Vorschau
name
monolith-static-assets
description
Use when adding or changing CSS/JS/images and wiring static assets into templates in this embedded-filesystem monolith.
# Monolith Static Assets ## Use this skill when - Editing front-end assets under `static/`. - Connecting assets from templates. ## Asset structure - CSS: `static/css/` - JavaScript: `static/js/` - Images/icons: `static/img/` ## Serving model - Static files are embedded and served at `/static/` via `app/routes/routes.go`. - Because embedding occurs at build/runtime startup, restart server after asset changes when needed. ## Usage in templates Reference assets with absolute static paths, e.g.: - `/static/css/stylesheet.css` - `/static/js/application.js` - `/static/img/logo.png` ## Change checklist 1. Update asset files. 2. Verify template references. 3. Run app and manually validate rendering in browser.
Auf GitHub ansehen