Skip to content

docs(skills): add html/template pattern to examples.md#7

Merged
jackielii merged 1 commit into
mainfrom
docs/skills-htmltemplate-pattern
May 7, 2026
Merged

docs(skills): add html/template pattern to examples.md#7
jackielii merged 1 commit into
mainfrom
docs/skills-htmltemplate-pattern

Conversation

@jackielii
Copy link
Copy Markdown
Owner

Summary

  • Adds a new section to skills/structpages/examples.md documenting the html/template pattern demonstrated by examples/html-template/ (atomic-design layout, Render-able type, per-request urlFor binding).

Test plan

  • No code changes; docs-only.
  • Spot-check rendered markdown.

Section 10 documents the renderer-agnostic pattern from
examples/html-template/: atomic-design directory layout, the tpl
wrapper, parsing in main after Mount so urlFor closes over sp.URLFor
(no Clone), the args helper, the Props pattern, and HTMX-targetable
organisms.

Includes the ctx-bound-funcs alternative for routes that need
per-request URL params.
@codecov
Copy link
Copy Markdown

codecov Bot commented May 7, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.78%. Comparing base (8b1a1da) to head (f2a78e1).

Additional details and impacted files
@@           Coverage Diff           @@
##             main       #7   +/-   ##
=======================================
  Coverage   96.78%   96.78%           
=======================================
  Files          12       12           
  Lines        1183     1183           
=======================================
  Hits         1145     1145           
  Misses         24       24           
  Partials       14       14           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jackielii jackielii merged commit e091582 into main May 7, 2026
8 checks passed
@jackielii jackielii deleted the docs/skills-htmltemplate-pattern branch May 7, 2026 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant