agentleFS
LockeZeRoLockeZeRo/site-builder/.claude/skills/page-builder/SKILL.md

page-builder

Skill0 starsChanged 3 months agoMITView on GitHub

Build and edit theme pages and template parts. Triggers on "new page", "edit the homepage", "add a section", "change the hero", "build a landing page".

2 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions2 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 2

    1. abel-yelin/luolink-Claude-skills★ 1same name
    2. kostja94/pagina★ 1same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository6 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    All three should be silent.

    line 74

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Page builder

Load site-dna first. Every page follows its §4 anatomy unless there is a stated reason not to.

Where things live

Want to changeFile
A whole pagetheme/page-<slug>.php
A reusable sectiontheme/template-parts/<name>.php
Colours, type, spacingtheme/assets/css/tokens.css
Layouttheme/assets/css/main.css
Breakpointstheme/assets/css/responsive.css
Business detailssite.config.php — never inline them

WordPress resolves page-<slug>.php automatically by page slug. A new page in wp-admin with slug pricing picks up theme/page-pricing.php with no routing.

Adding a page

  1. Copy the closest existing page-*.php — they share a header/hero pattern.
  2. Compose it from existing template parts before writing new markup.
  3. Any business fact comes from a SB_* constant. If the constant does not exist, add it to site.config.example.php and site.config.php.
  4. Wrap every user-facing string in esc_html_e() / esc_html__() with the site-builder-theme text domain.
  5. Escape on output, always: esc_html(), esc_url(), esc_attr().

Adding a section

<?php
/**
 * <What this section is for.>
 *
 * @package site-builder-theme
 */
declare( strict_types=1 );
if ( ! defined( 'ABSPATH' ) ) { exit; }
?>
<section class="my-section" aria-labelledby="my-section-title">
  <h2 id="my-section-title"><?php esc_html_e( 'Heading', 'site-builder-theme' ); ?></h2>
</section>

Include it with get_template_part( 'template-parts/my-section' );

Rules

  • No page builders, no CSS frameworks, no jQuery. The theme is hand-written and mobile-first. Adding Bootstrap or Elementor to "save time" here costs more than it saves, because everything else assumes plain CSS.
  • Mobile first. Base styles are the phone; responsive.css adds the larger breakpoints upward.
  • Every section must render with no images present. Backgrounds degrade to a colour. A site that only looks right once photography arrives cannot be reviewed before photography arrives.
  • One primary action per page (site-dna §6).

Checks before you call it done

find theme -name "*.php" -exec php -l {} \; | grep -v "No syntax errors"
grep -rn "\[[A-Z][A-Za-z ]*\]" theme/          # leftover placeholder copy
grep -rnE "[0-9]{3}-[0-9]{3}-[0-9]{4}|@[a-z]+\.(com|net)" theme/   # hardcoded contact details

All three should be silent.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.