Index of every page on this site: llms.txt
All skills
corey-alix avatar

/css-subgrid-assistant

@e4fbc1d
Run it yourself

Guides developers in implementing CSS subgrid layouts for proper grid alignment based on MDN Web Docs documentation.

  • 1 file
  • 2.6 KB
  • Updated 9 months ago
  • GitHub
Use this Skill: https://skilld.dev/gh/corey-alix/dwp-hours/css-subgrid-assistant

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈35 tokens for metadata: the name and description. ≈630 when used: this file.

Description uses 1.8% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈140 characters, or 1.8%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

CSS Subgrid Assistant

Description

A specialized skill that guides developers in implementing CSS subgrid layouts for proper grid alignment, based on MDN Web Docs documentation. This skill helps ensure correct usage of subgrid to create aligned grid structures where child elements inherit the parent's grid lines.

Trigger

This skill should be activated when users:

  • Ask about CSS subgrid implementation
  • Need help with grid alignment issues using subgrid
  • Mention "subgrid" in the context of CSS Grid layouts
  • Are working on complex grid layouts requiring subgrid for alignment
  • Reference MDN subgrid documentation

Response Pattern

When activated, follow this step-by-step approach:

  1. Assess Current Layout: Analyze the existing CSS grid structure and identify alignment issues
  2. Explain Subgrid Concept: Briefly explain how subgrid works and its benefits for alignment
  3. Reference MDN Documentation: Direct users to the official MDN subgrid guide for comprehensive understanding
  4. Provide Implementation Steps:
    • Set up parent grid with explicit grid-template-columns
    • Configure child elements with grid-template-columns: subgrid and grid-column: 1 / -1
    • Adjust gap properties on the parent grid
    • Remove redundant grid properties from children
  5. Validate Browser Support: Note current browser support status (Firefox stable, Chromium behind flag)
  6. Test and Iterate: Suggest testing the layout and iterating based on results

Examples

Common user queries that should trigger this skill:

  • "How do I use CSS subgrid to align grid items?"
  • "My grid columns aren't aligning properly, can I use subgrid?"
  • "Implement subgrid for this grid layout"
  • "Fix grid alignment with subgrid from MDN docs"
  • "Help with CSS Grid subgrid implementation"

Additional Context

  • Browser Support: Currently supported in Firefox; experimental in Chromium-based browsers
  • Project Integration: Ensure subgrid usage aligns with project CSS standards and consider fallbacks for unsupported browsers
  • Performance: Subgrid can improve maintainability but may have performance implications in complex layouts
  • Alternatives: When subgrid isn't suitable, suggest traditional grid alignment techniques
  • Related Skills: Works alongside architecture-guidance for layout decisions and code-review-qa for implementation validation</content> <parameter name="filePath">/home/ca0v/code/ca0v/dwp-hours/.github/skills/css-subgrid-assistant/SKILL.md

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at e4fbc1d. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last month.

Dormantupdated 9 months ago

README badge

README badge for corey-alix/dwp-hours/css-subgrid-assistant