agentleFS
agentconfigagentconfig/agentconfig.org/.github/skills/page-styling/SKILL.md

page-styling

Skill7 starsChanged 3 months agoISCView on GitHub

Define agentconfig.org page layout and hero styling for new pages that match the site.

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 1 is distinctive, and 5 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.

  • 5

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use this skill to keep page-level layout and hero styling consistent with agentconfig.org, especially the left-aligned hero and colored …

    line 10
  2. Very specific:

    Use PageLayout for top-level pages.

    line 22
  3. Very specific:

    Keep copy width similar to the homepage with max-w-2xl on the paragraph.

    line 31
  4. Distinctive:

    Use colored pill spans to highlight page attributes.

    line 40
  5. Very specific:

    Use Section for homepage-style sections.

    line 50
  6. Very specific:

    Keep section headings text-3xl md:text-4xl font-bold with descriptions text-lg text-muted-foreground.

    line 51

≈ “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 Styling

Overview

Use this skill to keep page-level layout and hero styling consistent with agentconfig.org, especially the left-aligned hero and colored label pills used on /agents.

When to Use

  • Creating a new top-level page and its route entry
  • Updating a page hero, intro copy, or label badges
  • Aligning section widths and spacing with the homepage

Detailed Instructions

Page Structure

  • Use PageLayout for top-level pages.
  • Route entry: site/src/pages/{slug}.tsx should render {PageName}Page.
  • Page component lives in site/src/components/{PageName}Page/.

Hero Layout (Agents Style)

  • Wrap the hero in <header className="border-b border-border bg-muted/30">.
  • Use container mx-auto px-4 py-12 md:py-16.
  • Left-align headings and copy (no text-center).
  • Keep copy width similar to the homepage with max-w-2xl on the paragraph.

Hero Typography

  • h1 should use text-4xl md:text-5xl font-bold mb-4.
  • Paragraph should use text-xl text-muted-foreground max-w-2xl.

Label Pills

  • Use colored pill spans to highlight page attributes.
  • Base classes: px-3 py-1 rounded-full text-sm.
  • Wrap pills in flex gap-2 mt-6 flex-wrap.
  • Color tokens to match /agents:
    • Green: bg-green-100 text-green-800 dark:bg-green-900/30 dark:text-green-400
    • Yellow: bg-yellow-100 text-yellow-800 dark:bg-yellow-900/30 dark:text-yellow-400
    • Red: bg-red-100 text-red-800 dark:bg-red-900/30 dark:text-red-400

Sections

  • Use Section for homepage-style sections.
  • Keep section headings text-3xl md:text-4xl font-bold with descriptions text-lg text-muted-foreground.

Example Prompts

  • "Use the page-styling skill to make the Skills hero left-aligned with colored labels like /agents."
  • "Create a new page with PageLayout and an Agents-style hero using the site styling skill."

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.