engremran07/gsmvault/ads-slot-positions

Claude Code and agent skill by engremran07/gsmvault

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Ad slot positioning: header, sidebar, in-content, footer, etc. Use when: deciding where to place ads, configuring viewport zones, mapping slots to page sections.

Install

npx vskill@latest install engremran07/gsmvault/ads-slot-positions

SKILL.md

The same SKILL.md was published earlier as engremran07/gsmvault/ads-slot-positions.

Ad Slot Positions

When to Use

  • Deciding which page sections get ad slots
  • Mapping AdPlacement.slot_id to template locations
  • Configuring viewport zones from ScanDiscovery.zone
  • Avoiding CLS (Cumulative Layout Shift) from ad injection

Rules

Standard Slot Positions
ZoneSlot ID PatternLocationCLS Risk
Header{page}-header-bannerBelow nav, above contentLow
Sidebar Top{page}-sidebar-topFirst sidebar widgetLow
Sidebar Sticky{page}-sidebar-stickySticky sidebar positionMedium
Above Content{page}-above-contentBefore main contentLow
In-Content{page}-in-content-{n}Between paragraphsHigh
Below Content{page}-below-contentAfter main contentLow
Footer{page}-footer-bannerAbove footerLow
Interstitial{page}-interstitialFull-screen overlayN/A
Naming Convention
text
{app}-{page}-{zone}[-{variant}]
Examples:
blog-post-sidebar-top
firmwares-detail-above-content
forum-topic-in-content-1

Patterns

Reserving Space to Prevent CLS
html
{# templates/ads/fragments/placement.html #}
{% if show_ad and placement %}
<div class="ad-slot"
id="ad-{{ placement.slot_id }}"
style="min-height: {{ placement.min_height|default:'250' }}px;"
data-slot="{{ placement.slot_id }}">
{# Ad content injected here #}
</div>
{% endif %}
In-Content Injection After N Paragraphs
python
# apps/ads/templatetags/ads_tags.py
@register.simple_tag
def inject_ad_after_paragraph(content: str, slot_id: str, after_para: int = 3) -> str:
"""Insert ad placeholder after the Nth paragraph."""
paragraphs = content.split("</p>")
if len(paragraphs) > after_para:
ad_html = f'<div class="ad-slot" data-slot="{slot_id}"></div>'
paragraphs.insert(after_para, ad_html)
return "</p>".join(paragraphs)

Anti-Patterns

  • Placing ads above the fold without reserving height — causes CLS
  • More than 3 in-content ads on a single page — degrades UX
  • Using the same slot_id across different pages — causes tracking confusion

Quality Gate

powershell
& .\.venv\Scripts\python.exe -m ruff check . --fix
& .\.venv\Scripts\python.exe -m ruff format .
& .\.venv\Scripts\python.exe manage.py check --settings=app.settings_dev

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/engremran07/gsmvault/ads-slot-positions/badge)](https://verified-skill.com/skills/engremran07/gsmvault/ads-slot-positions)

Something wrong with this skill or its page? Tell us.