Skip to content
Back to skills

Astro Section Implementation

ASecurity

Use when creating or refactoring Astro sections, reusable section modules, section-specific markup, or section-level CSS in this repository. Trigger for section extraction, repeated section cleanup, CTA block restructuring, and static-vs-client decisions inside Astro components.

  • 225 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 4, 2026
businessrefactoring

Works with

  • cli

Security analysis

A100/100

Pro scans all 13 files and shows the line behind each finding

Scanned September 4, 2026

npx -y skills add NeverSight/skills_feed --skill astro-section-implementation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Astro Section Implementation?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Astro Section Implementation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/neversight-astro-section-implementation/badge)](https://www.skillsdirectory.com/skills/neversight-astro-section-implementation)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: astro-section-implementation
description: Use when creating or refactoring Astro sections, reusable section modules, section-specific markup, or section-level CSS in this repository. Trigger for section extraction, repeated section cleanup, CTA block restructuring, and static-vs-client decisions inside Astro components.
---

# Astro Section Implementation

Build sections that stay readable, mostly static, and easy to maintain.

## Workflow

1. Inspect the nearest matching section, component, and stylesheet pattern.
2. Decide whether the work belongs in an existing family or needs one focused file.
3. Define the section contract before writing markup.
4. Keep section data and repeated markup out of tangled template conditionals.

## Rules

- Keep markup semantic and readable.
- Prefer shared data, arrays, and focused helpers over repeated section blocks.
- Use explicit typed fields for semantic content that other components depend on.
- Do not key business meaning off array indexes or label text unless the UI is purely presentational.
- Use hydration only when the section has real client behavior.
- Match the repo's CSS organization so styles remain discoverable.
- Keep responsive behavior deliberate; do not let desktop composition collapse into random mobile stacking.
- Split desktop and mobile markup when the reading pattern genuinely changes; do not force one DOM shape to do two incompatible jobs.
- For accordions and carousels, keep a static fallback structure that remains readable if JS is delayed or absent.
- Scope scripts to the section they serve.
- Guard DOM queries and event listeners.
- Handle Astro navigation or re-entry events if the feature depends on runtime initialization.
- Remove or rename stale selectors when section markup changes.

## Section Audit Checklist

- Can a new reader understand the section job from its heading and first sentence?
- Are the most important labels, outputs, or actions visible without markup gymnastics?
- Is the mobile pattern chosen intentionally: stack, accordion, or carousel?
- Does the data model still make sense if content editors reorder items later?

Files in this skill

  • SKILL.md2.1 KB
  • description_ar.txt491 B
  • description_cn.txt234 B
  • description_de.txt359 B
  • description_en.txt280 B
  • description_es.txt350 B
  • description_fr.txt402 B
  • description_it.txt378 B
  • description_ja.txt474 B
  • description_ko.txt332 B
  • description_ru.txt627 B
  • description_tw.txt243 B
  • stats.json68 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in business →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.