render-page

Render Rails pages from a local database and extract or search HTML.

36|6|Updated Apr 6, 2022
One-click install
npx skills add https://github.com/rubys/showcase --skill render-page
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: render-page
Source: https://github.com/rubys/showcase/tree/main/.claude/skills/render-page
Command: npx skills add https://github.com/rubys/showcase --skill render-page

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill allows you to inspect and verify the HTML output of Rails pages without the overhead of starting a full development server. It's perfect for CI/CD pipelines, quick content checks, or debugging views, saving you time and computational resources.

Core Features & Use Cases

  • Offline Page Rendering: Renders Rails pages directly from a specified database, bypassing the need for a running server.
  • HTML Extraction & Search: Extract full HTML content for detailed analysis or search for specific text within rendered pages to verify content presence.
  • CI/CD Integration: Utilize the --check mode for automated verification in continuous integration pipelines, ensuring pages render successfully without manual intervention.
  • Use Case: Before deploying a new feature, use this skill to automatically check that all critical user-facing pages (e.g., /people, /heats, /solos) render successfully and contain expected content, ensuring no regressions without manual browser checks.

Quick Start

Use the render-page skill to check if the '/people' and '/heats' pages render successfully using the '2025-alexandria-80-s-neon-nights' database.

Frequently Asked Questions about render-page

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I render Rails pages without starting a development server?

Render Rails pages offline using a local database with the render-page skill's CLI tool. It bypasses the development server, letting you inspect HTML output directly and verify content across routes without server overhead.

Can I use page rendering in CI/CD pipelines to verify content before deployment?

Yes. The --check mode automates verification in CI/CD pipelines, confirming that critical pages render successfully and contain expected content without manual browser checks or regressions.

How do I extract and search for specific content in rendered Rails pages?

Use the --html option to extract full HTML content for analysis, or the --search option to find specific text within rendered pages, verifying that expected content is present in the output.

What database configuration does offline Rails page rendering require?

Offline page rendering requires a local database. Specify it via a database argument or the RAILS_APP_DB environment variable so the skill can render pages directly without a running server.

Why use offline page rendering instead of manual testing during development?

Offline rendering saves time and computational resources by inspecting page output directly from a database. It's ideal for quick content checks, debugging views, and automating functional verification without browser overhead.