Автовставка CTA-блоков в Astro-контент
★ 7.3 · vibe-coding
astro-cta-injector is a Claude Code skill that injects Call-to-Action blocks into Astro site content using intelligent placement strategies. It supports five placement options: end of content, after 50% or 60% of paragraphs, after the first H2 heading, and before the last paragraph. Relevance scoring evaluates each post on keyword density, content length, topic match, and existing CTAs, producing a 0–10 score with a default threshold of 5.0. The skill works with `.astro` and `.md` files, requires Python 3.10+ and BeautifulSoup4, and includes dry-run preview, automatic backups before modifications, and duplicate detection. It's a practical fit for developers and content managers who need to batch-insert newsletter signups, product promotions, or any custom HTML blocks across an Astro blog.