agentleFS
wake-engineeringwake-engineering/ai-plugin/skills/wake-hotsite-banners/SKILL.md

wake-hotsite-banners

Skill4 starsChanged 8 months agoMITView on GitHub

Wake Commerce hotsite and landing pages. Use when building landing pages, promotional pages, or campaign URLs. Triggers on: hotsite, banners, contents, landing page, promotional page.

The file

We split this skill into the rules it gives an agent

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

  • 2

    Very specific

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

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

    Call hotsite(url, partnerAccessToken) with the appropriate context.

    line 23
  2. Distinctive:

    Use the hotsite root query to fetch landing page data.

    line 30
  3. Very specific:

    Security note: Never hardcode partnerAccessToken.

    line 34

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

Wake Hotsite Banners

Forbidden: api.fbits.net (and any *.fbits.net). Canonical source: https://wakecommerce.readme.io/docs/schema

Hotsite (landing page) guidance for Wake Commerce storefront integrations. This skill covers banners, contents, products, and SEO for promotional and campaign pages.

When to use

  • Building landing pages from hotsite URL routes
  • Implementing promotional or campaign pages
  • Rendering banner/carousel sections from API data
  • Mapping content blocks and related products
  • Applying SEO metadata from hotsite payload

Workflow steps

  1. Resolve the incoming route to a hotsite url value.
  2. Call hotsite(url, partnerAccessToken) with the appropriate context.
  3. Map response data to page sections: banners, contents, productsByOffset, seo.
  4. Apply SEO fields to the document head.
  5. Validate fallback behavior when URL is invalid or API is unavailable.

hotsite(url, partnerAccessToken)

Use the hotsite root query to fetch landing page data.

  • url: Landing page path (example: /promo/black-friday).
  • partnerAccessToken: Optional in standard storefront contexts; required in partner/wholesale scenarios.
  • Security note: Never hardcode partnerAccessToken. Source it from secure server-side configuration or environment-managed flows.
query Hotsite($url: String!, $partnerAccessToken: String) {
  hotsite(url: $url, partnerAccessToken: $partnerAccessToken) {
    url
    banners {
      id
      name
      images {
        url
      }
      links {
        url
      }
    }
    contents {
      id
      title
      type
    }
    productsByOffset(limit: 20, offset: 0) {
      productId
      productName
      alias
      images {
        url
      }
      prices {
        listPrice
        price
      }
    }
    seo {
      content
      name
      type
      httpEquiv
      scheme
    }
  }
}

Fields to map

FieldPurpose
bannersBanner/carousel rendering content
contentsPage sections and content blocks
productsByOffsetProduct listing area for the landing page
seoMeta tags and head metadata

Edge cases (short bullet list)

  • Invalid URL: Return graceful fallback (empty-state page or not-found state) without crashing the flow.
  • API unavailable: Surface retry-friendly error handling and avoid exposing internal diagnostics.
  • Missing token in partner context: Prompt secure token configuration guidance; do not suggest hardcoded token values.

Pre-publish checklist

  • No reference to api.fbits.net or any *.fbits.net in this document, generated guidance, or linked materials.
  • Canonical schema/docs source is https://wakecommerce.readme.io/docs/schema.
  • Frontmatter includes name and description, and name matches directory (wake-hotsite-banners).
  • Document includes When to use, numbered Workflow steps, and References sections.
  • Document is under 500 lines.

References

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.