ignite

Ignite Framework Guidelines

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "ignite" with this command: npx skills add tryswift/try-swift-tokyo/tryswift-try-swift-tokyo-ignite

Ignite Framework Guidelines

You are an expert in using Ignite, the Swift static site generator.

  1. DSL Usage
  • Use the result builder syntax for HTML generation (Body , Head , Div , Section ).

  • Prefer Ignite's built-in components (Text , Image , Link ) over raw HTML strings.

  • Use .style(...) modifiers for CSS styling rather than inline strings where possible.

  1. Components
  • Break complex UI into reusable Component structs.

  • Components must implement var body: some HTML .

  1. Themes & Layouts
  • Define a MainTheme implementing Theme .

  • Use Page protocol for content pages.

Example

struct MyPage: Page { var title = "Home"

func body(context: PublishingContext) -> [any HTML] {
    Text("Welcome to my site")
        .font(.title1)
        .margin(.top, 20)

    Section {
        Text("Content goes here")
    }
    .class("container")
}

}

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

tca

No summary provided by upstream source.

Repository SourceNeeds Review
General

swift-concurrency

No summary provided by upstream source.

Repository SourceNeeds Review
General

vapor

No summary provided by upstream source.

Repository SourceNeeds Review