Agent skill

Website Create Examples

by oocx in oocx/tfplan2md

Create and update interactive examples for the Eleventy website using page entrypoints and src/examples fragments.

MITAuto-check passedDevOps & Cloud

Install Website Create Examples

skills CLI
$ npx skills add oocx/tfplan2md --skill website-create-examples -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install oocx/tfplan2md website-create-examples --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/oocx/tfplan2md.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/website-create-examples .claude/skills/website-create-examples && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
website-create-examples
GitHub stars
174
Token cost
~2.4k tokens
SKILL.md length
1,038 words
Files
1
Skills in repo
28
Repo updated
First seen
Licence
MIT

At a glance

Create and update interactive examples for the Eleventy website using page entrypoints and src/examples fragments.

  • Works in 5 steps: Choose the page entrypoint → Create or update the example directory → Keep the example fragment… → …
  • DevOps & Cloud work in your project
  • SKILL.md covers Purpose, When to Use This Skill, Current Authoring Model and Hard Rules, plus 6 more sections
  • Calls terraform, docker and dotnet

What it does

Website Create Examples is an agent skill from oocx/tfplan2md. Create and update interactive examples for the Eleventy website using page entrypoints and src/examples fragments.

Its SKILL.md is about 2.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in DevOps & Cloud. The repository describes itself as: Convert terraform plans (json) into human readable markdown for easier review of changes in pull requests. The licence is MIT.

When your agent uses it

  • DevOps & Cloud work in your project

Example prompts

  • “/website-create-examples”

Requirements

  • Docker

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Choose the page entrypoint
  2. Create or update the example directory
  3. Keep the example fragment responsibilities clear
  4. Reference the example from the page
  5. Verify the rendered result

What it can do on your machine

Read from SKILL.md and the folder at commit 3fa4b5a. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • terraform
    • docker
    • dotnet

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use docker, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Website Create Examples loads about 2.4k tokens when it runs. Until then it costs about 35 tokens; SKILL.md has 1,038 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~35
When it runs · the whole SKILL.md, loaded when a task matches
~2.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from oocx/tfplan2md at commit 3fa4b5a, republished under its MIT licence (© oocx). 1,038 words, ~2,362 tokens.

Download SKILL.mdSave it as .claude/skills/website-create-examples/SKILL.md (or your agent's skills folder).
name
website-create-examples
description
Create and update interactive examples for the Eleventy website using page entrypoints and src/examples fragments.

Skill Instructions

Purpose

Create and update interactive examples on the tfplan2md website using the Eleventy authoring model.

When to Use This Skill

  • Adding new feature examples to feature detail pages
  • Creating examples for the main examples page
  • Updating existing examples when output format changes
  • Adding before/after comparisons for feature pages

Current Authoring Model

Interactive examples are not hand-authored inline as large HTML blocks on page files.

  • Page entrypoints live under website/src/pages/
  • Interactive example source-of-truth lives under website/src/examples/<example-id>/
  • Each example directory contains:
    • meta.json for the example title and metadata
    • rendered.html for the rendered output pane
    • source.html for the source pane markup
  • Pages render examples through the Eleventy exampleBlock shortcode defined in website/.eleventy.js
  • Shared interactive behavior is initialized globally from website/src/site-assets/js/site.js, so page-local script tags are not needed

Hard Rules

Must
  • Edit page entrypoints in website/src/pages/ and example fragments in website/src/examples/; do not hand-edit generated output in website/dist/.
  • Keep example IDs stable and descriptive, following the existing <page-or-section>--example-<n> pattern.
  • Source example content from real repository artifacts such as artifacts/, examples/, generated demo output, or other repository-backed material.
  • Run scripts/website-verify.sh --all after adding or changing examples.
Must Not
  • Do not reintroduce page-local JavaScript blobs or per-page script tags for interactive examples.
  • Do not invent rendered output or source content that is not grounded in the repository.

Where to Get Example Content

Source 1: artifacts/ Directory (Primary)

The artifacts/ directory contains pre-generated markdown and HTML examples from the comprehensive demo:

Markdown Source:

  • artifacts/comprehensive-demo.md - Full markdown output
  • artifacts/comprehensive-demo-simple-diff.md - Simplified diff format

Rendered HTML:

  • artifacts/comprehensive-demo.github.html - GitHub-rendered HTML
  • artifacts/comprehensive-demo.azdo.html - Azure DevOps-rendered HTML

How to Extract:

  1. Open the markdown file
  2. Search for the resource type or feature (e.g., azurerm_firewall_network_rule_collection)
  3. Copy the relevant section for the source view
  4. Open the corresponding .github.html file
  5. Find the matching section for the rendered view
  6. Extract the HTML that should appear inside the rendered pane
Source 2: Generate New Examples

If the exact example doesn't exist in artifacts:

  1. Run the demo generation script:

    bash
    scripts/generate-demo-artifacts.sh

    This regenerates all artifacts from the current codebase.

  2. Create custom examples:

    bash
    # Create a custom Terraform plan
    cd examples/
    # Modify existing demo or create new scenario
    terraform plan -out=plan.tfplan
    terraform show -json plan.tfplan > plan.json
    
    # Generate markdown
    docker run -v $(pwd):/data oocx/tfplan2md:latest plan.json > output.md
  3. Render to HTML: Use the HtmlRenderer tool:

    bash
    dotnet run --project src/tools/Oocx.TfPlan2Md.HtmlRenderer \
      --input artifacts/comprehensive-demo.md \
      --output artifacts/custom-example.github.html \
      --platform github

Step-by-Step: Add a New Example

1. Choose the page entrypoint
  • Open the relevant page under website/src/pages/
  • Existing examples page entrypoint: website/src/pages/examples.njk
  • Existing feature detail pages live under website/src/pages/features/
2. Create or update the example directory
  • Create or update website/src/examples/<example-id>/
  • Add or update meta.json
  • Add or update rendered.html
  • Add or update source.html
3. Keep the example fragment responsibilities clear
  • meta.json holds the example title and metadata used by the renderer
  • rendered.html contains the rendered example pane content
  • source.html contains the source-pane markup, typically a <pre><code>...</code></pre> block
  • Keep the title specific, for example Firewall Network Rule Collection Output
4. Reference the example from the page
  • Use the exampleBlock shortcode from the relevant .njk page:
njk
{{ exampleBlock("features--firewall-rules--example-1") | safe }}
  • Place it inside the existing page structure and surrounding content blocks
  • Reuse existing macros and section patterns from website/src/_includes/components/
5. Verify the rendered result
  • Run scripts/website-verify.sh --all
  • Preview the relevant page in website/dist/
  • Use browser tools to confirm toggle behavior, fullscreen behavior, and responsive layout

Step-by-Step: Update an Existing Example

  1. Regenerate artifacts:

    bash
    scripts/generate-demo-artifacts.sh
  2. Locate the example:

    • Find the exampleBlock("...") call in website/src/pages/
    • Open the matching directory under website/src/examples/
  3. Update rendered view:

    • Extract new HTML from regenerated artifacts
    • Replace content in rendered.html
  4. Update source view:

    • Extract new markdown from regenerated artifacts
    • Escape HTML characters when needed
    • Replace content in source.html
  5. Test:

    • Open the page in a browser preview
    • Toggle between rendered and source views
    • Verify content renders correctly
    • Test fullscreen mode

Content Guidelines

Show full SKILL.md (453 more words)Show less
Rendered View Content
  • Use semantic HTML: headings, tables, code blocks, details/summary, lists, and other markup that matches the actual rendered output
  • Preserve emoji and icons from real tfplan2md output when present
  • Keep inline styles only when they are part of the real rendered output
  • Do not replace the shared wrapper generated by the shortcode with custom page markup
Source View Content
  • Show the exact source content that explains or generates the rendered output
  • Escape HTML characters when source is rendered inside <code>
  • Preserve whitespace and indentation
  • Include markdown, HTML, or mixed source only when that matches the real source material
  • This is what users would copy or inspect alongside the rendered result
Title Guidelines
  • Be specific: "Firewall Network Rule Collection Output" not "Example Output"
  • Describe the resource type or feature shown
  • Keep under 60 characters for readability

Common Patterns

Table-Based Examples

Most features show tables. Rendered view has <table>, source view has pipe-separated markdown.

Diff Examples (Firewall/NSG Rules)

Use inline styles for before/after highlighting. Keep all styles in rendered view; show escaped HTML tags in source view.

Module Grouping

Show hierarchical structure with <details> in rendered view; show markdown <details> tags in source view.

Large Values

Show collapsed sections in rendered view; show the markdown collapsible syntax in source view.

Troubleshooting

Toggle buttons don't work
  • Check website/src/site-assets/js/site.js and the interactive examples module wiring
  • Check browser console for JavaScript errors
  • Confirm the page is using the shared base layout and not bypassing the normal site bootstrap
Rendered view looks wrong
  • Verify rendered.html is valid and complete
  • Check that the page still uses the shared example wrapper emitted by the shortcode
  • Ensure shared styles and client-side assets are loading in the rendered page
Source view doesn't highlight
  • Verify source.html contains the expected code block structure
  • Check that HTML is properly escaped
  • Check shared syntax-highlighting behavior in the previewed page
Content overflows
  • Use fullscreen mode for large examples
  • Consider splitting very large examples into multiple smaller ones
  • Ensure tables are not too wide (test on mobile)

Files Modified/Created

When adding examples, these files are typically involved:

  • Page entrypoints: website/src/pages/*.njk, website/src/pages/features/*.njk
  • Example fragments: website/src/examples/<example-id>/meta.json, rendered.html, source.html
  • Shared JavaScript: website/src/site-assets/js/ (rarely modified)
  • Source content: artifacts/*.md (regenerated via script)
  • Rendered content: artifacts/*.html (regenerated via script)

Validation Checklist

Before committing changes:

  • Interactive example has correct HTML structure
  • Example is referenced from the correct .njk page using exampleBlock
  • Rendered view shows proper HTML output
  • Source view shows the correct escaped source when needed
  • Title is descriptive and specific
  • Toggle between views works
  • Fullscreen mode works
  • Content renders correctly in both light and dark themes
  • Mobile responsive (test narrow viewport)
  • No JavaScript console errors
  • website-visual-assets - Generate screenshots and HTML exports
  • generate-demo-artifacts - Regenerate the comprehensive demo
  • website-quality-check - Verify overall website quality

© oocx, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/website-create-examples of oocx/tfplan2md.

Open the folder on GitHubat commit 3fa4b5a

Compare with similar skills

Website Create Examples next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Website Create Examples compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Website Create Examples this skilloocx/tfplan2md174—~2.4kAutomated safety check: PassMIT
Monitor CInrwl/nx29k5 repos~4.7kAutomated safety check: PassMIT
Terraform and OpenTofu Guideagentscope-ai/QwenPaw35k6 repos~4.2kAutomated safety check: PassApache-2.0
Vercel Optimize Auditvercel-labs/agent-skills32k8 repos~4.3kAutomated safety check: PassNone
Analyze GitHub Action Logswithastro/astro63k1 repos~1.3kAutomated safety check: PassCustom licence
Docs Learn PR Previewnetdata/netdata81k—~2kAutomated safety check: PassGPL-3.0

Similar skills

  • Monitor CI

    nrwl/nx

    Monitor Nx Cloud CI pipeline and handle self-healing fixes. An agent skill from nrwl/nx.

    29k GitHub starsUsed in 5 repos~4.7k tokens
    DevOps & CloudAuto-check passed
  • Terraform and OpenTofu Guide

    agentscope-ai/QwenPaw

    Guidance for writing and testing Terraform and OpenTofu code: module structure, naming, test approaches, CI/CD workflows, state handling and security scanning.

    35k GitHub starsUsed in 6 repos~4.2k tokens
    DevOps & CloudAuto-check passed
  • Vercel Optimize Audit

    vercel-labs/agent-skills

    Official

    Runs a metrics-first audit of a deployed Vercel project, gating investigations on real signals to produce ranked, citation-backed cost and performance recommendations.

    32k GitHub starsUsed in 8 repos~4.3k tokens
    DevOps & CloudAuto-check passed
  • Official

    Analyze recent GitHub Actions workflow runs to identify patterns, mistakes, and improvements.

    63k GitHub starsUsed in 1 repo~1.3k tokens
    DevOps & CloudAuto-check passed
  • Docs Learn PR Preview

    netdata/netdata

    Use only when the user explicitly asks to build, run, preview, inspect, or validate learn.netdata.cloud locally using the contents of a PR or documentation branch before merge.

    81k GitHub stars~2k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Repo Mirror Sources

    netdata/netdata

    Inspect Netdata-org source checkouts under NETDATAREPOSDIR, or set up and synchronize that mirror when requested.

    81k GitHub stars~1.2k tokensUpdated today
    DevOps & CloudAuto-check: notes

More from oocx/tfplan2md

All 28 skills in this repo
  • Create Agent Skill

    oocx/tfplan2md

    Create a new Agent Skill following project standards and templates.

    174 GitHub stars~1.5k tokensUpdated yesterday
    Auto-check passed
  • Detect and analyze edge crossings and overlaps in SVG workflow diagrams using geometric intersection algorithms and visual analysis.

    174 GitHub stars~4.3k tokensUpdated yesterday
    Auto-check passed
  • Generate PNG screenshots for release notes using the repository's HtmlRenderer and ScreenshotGenerator tools.

    174 GitHub stars~3.7k tokensUpdated yesterday
    Auto-check passed
  • Git Rebase Main

    oocx/tfplan2md

    Safely rebase the current feature branch on top of the latest origin/main.

    174 GitHub stars~456 tokensUpdated yesterday
    Auto-check passed
  • Next Issue Number

    oocx/tfplan2md

    Determine the next available issue number across all change types (feature, fix, workflow, website) by checking both local docs and remote branches, then reserve it by pushing an empty branch.

    174 GitHub stars~1.5k tokensUpdated yesterday
    Auto-check passed
  • Run Uat

    oocx/tfplan2md

    Run User Acceptance Testing by creating a PR with rendered markdown on GitHub or Azure DevOps.

    174 GitHub stars~1.2k tokensUpdated yesterday
    Auto-check passed

Categories

Questions about Website Create Examples

What does Website Create Examples do?

Create and update interactive examples for the Eleventy website using page entrypoints and src/examples fragments. Website Create Examples is an agent skill from oocx/tfplan2md. Create and update interactive examples for the Eleventy website using page entrypoints and src/examples fragments.

When should I use Website Create Examples?

Website Create Examples fits situations like: devOps & Cloud work in your project.

How do I install Website Create Examples in Claude Code?

Run `npx skills add oocx/tfplan2md --skill website-create-examples -a claude-code`. Or copy the skill folder (.agents/skills/website-create-examples in oocx/tfplan2md) into .claude/skills/website-create-examples in your project. Claude Code loads it when a task matches its description.

How do I install Website Create Examples in Codex?

Run `npx skills add oocx/tfplan2md --skill website-create-examples -a codex`. Or copy the skill folder (.agents/skills/website-create-examples in oocx/tfplan2md) into .agents/skills/website-create-examples in your project. Codex loads it when a task matches its description.

Can I use Website Create Examples in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add oocx/tfplan2md --skill website-create-examples -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/website-create-examples, .gemini/skills/website-create-examples, .github/skills/website-create-examples and .opencode/skills/website-create-examples in your project.

What does Website Create Examples need to run?

Going by SKILL.md and its folder, Website Create Examples needs the command-line tools its instructions call (terraform, docker and dotnet). Our summary lists: Docker.

Does Website Create Examples access the network?

SKILL.md contains no URLs. Its commands use docker, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Website Create Examples safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Website Create Examples use?

Website Create Examples is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Website Create Examples use?

About 2.4k tokens (SKILL.md is roughly 9.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Website Create Examples?

Skills that share tags, products or a category with Website Create Examples: Monitor CI (nrwl/nx, 29k stars), Terraform and OpenTofu Guide (agentscope-ai/QwenPaw, 35k stars), Vercel Optimize Audit (vercel-labs/agent-skills, 32k stars) and Analyze GitHub Action Logs (withastro/astro, 63k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Website Create Examples?

oocx (a GitHub user) maintains it in oocx/tfplan2md, which has 174 GitHub stars. The repository holds 28 skills in this directory. The repository was last updated on October 6, 2026.

Source: oocx/tfplan2md on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.