本文へ移動
cccskills
無料GitHub で公開

42-init

Bootstrap een klantproject voor 42-SEO-Skills. Vraagt naar profiel (content/ecom/technical/full), activeert alleen relevante skills via disabledSkills in .claude/settings.local.json, zet auth (.env) op, maakt de gedeelde Python venv in ~/.claude/venvs/42-seo/, en prikt 42-reports/<klant>/ neer. Use when user says "init SEO project", "42-init", "setup SEO", "nieuw klantproject", "initialiseer SEO".

インストール方法を見る

含まれるファイル(2)

  • SKILL.md5.6 KB
  • source.json884 B

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

/42-init — Project Bootstrap

Zet een schoon klantproject op voor gebruik van de 42-SEO-Skills plugin. Zes stappen, in deze volgorde. Ga pas door naar de volgende stap als de vorige geslaagd is.


Stap 1 — Profiel kiezen

Vraag de gebruiker één AskUserQuestion met deze opties:

ProfielVoorAantal skills
contentBlogs, editorial, thought leadership13
ecomWebshops, productpagina's, categorieën16
technicalHreflang/sitemap/schema/migrations14
fullAlles (agency of onbekend)alle 59

Lees het gekozen profiel:

cat "${CLAUDE_PLUGIN_ROOT}/profiles/<profiel>.json"

Parse skills[] — die heb je straks nodig voor stap 5.


Stap 2 — Klantnaam

Vraag: "Wat is de naam (slug) van dit project? Bijvoorbeeld: acme-nl, klant-xyz."

Valideer: alleen [a-z0-9-]. Bij hoofdletters of spaties: vervang automatisch en toon de genormaliseerde vorm ter bevestiging.

Maak aan:

mkdir -p "42-reports/<klant-slug>"

Stap 3 — Auth (.env)

Check of .env al bestaat in cwd. Als niet:

cp "${CLAUDE_PLUGIN_ROOT}/.env.example" .env

Lees de lege .env in, toon de verplichte velden en vraag welke keys de gebruiker nu wil invullen. Minimaal nodig voor de gekozen profielen:

  • content / ecom: GOOGLE_API_KEY (Gemini), DATAFORSEO_LOGIN + DATAFORSEO_PASSWORD
  • technical: FIRECRAWL_API_KEY (alleen als gebruiker Firecrawl gebruikt)
  • full: alles bovenstaand + GSC_SERVICE_ACCOUNT_JSON (pad naar service account file)

Gebruiker kan overslaan ("later") — alleen waarschuwen dat sommige skills dan falen met duidelijke error.


Stap 4 — Gedeelde Python venv

De venv is gedeeld over alle klantprojecten en staat op ~/.claude/venvs/42-seo/. Check eerst of hij al bestaat:

VENV="$HOME/.claude/venvs/42-seo"
if [ ! -d "$VENV" ]; then
  mkdir -p "$HOME/.claude/venvs"
  python3 -m venv "$VENV"
  "$VENV/bin/pip" install --upgrade pip
  "$VENV/bin/pip" install -r "${CLAUDE_PLUGIN_ROOT}/requirements.txt"
fi

Als hij wel bestaat: pip install --upgrade om nieuwe/bijgewerkte packages uit requirements.txt te installeren (idempotent).

Schrijf daarna een .envrc of leg uit hoe te activeren:

source ~/.claude/venvs/42-seo/bin/activate

Optionele deps (playwright, spacy, reportlab, etc.): vraag alleen bij profielen die ze nodig hebben. Bijvoorbeeld playwright alleen als 42-internal-links of 42-seo-agi in profiel zit.


Stap 5 — Skill allowlist via disabledSkills

Bereken welke skills uit moeten staan op basis van het profiel. Pak alle 59 skills min de geselecteerde set, en converteer naar glob-patterns waar mogelijk voor compactheid.

Schrijf .claude/settings.local.json:

mkdir -p .claude

Genereer JSON:

{
  "disabledSkills": [
    "42-ecom-*",
    "42-product-titles",
    "42-geo-sales",
    "42-programmatic-seo"
  ],
  "42-init": {
    "profile": "content",
    "client": "<klant-slug>",
    "initializedAt": "<ISO datum>"
  }
}

Als er al een .claude/settings.local.json is — merge in plaats van overschrijven. Bewaar bestaande keys (bv. permissions, env).

Belangrijk: 42-init zelf mag nooit op de disabled-lijst staan, anders kan de gebruiker niet her-initialiseren.


Stap 6 — Samenvatting tonen

Toon een korte samenvatting:

✓ 42-SEO-Skills geïnitialiseerd voor <klant-slug>

Profiel:     content (13 skills actief)
Venv:        ~/.claude/venvs/42-seo (gedeeld)
Reports:     ./42-reports/<klant-slug>/
Auth:        .env (ingevuld: GOOGLE_API_KEY, DATAFORSEO_*)
             .env (nog leeg: GSC_SERVICE_ACCOUNT_JSON)

Eerste stap: /42-audit <domein>
             of: /42-seo-project start <domein>

Herstart-hint tonen: "Herstart je Claude Code-sessie (/reload) zodat de allowlist actief wordt."


Fouten en edge cases

  • Geen python3: waarschuw en stop. Vraag om Python 3.11+ te installeren.
  • venv failure: toon de foutmelding letterlijk, niet uitleggen alsof het werkt.
  • Geen schrijfrechten in cwd: stop, vraag om in project-root te staan.
  • Al geïnitialiseerd (settings.local.json heeft 42-init.profile): vraag of gebruiker wil overschrijven of aanvullen.

Re-init flow

Als /42-init opnieuw gedraaid wordt in een project dat al een 42-init-sectie heeft in .claude/settings.local.json, bied drie opties:

  1. Profiel wijzigen — overschrijf disabledSkills, behoud .env en venv
  2. Alleen deps bijwerken — skip settings en .env, alleen pip install -U
  3. Opnieuw beginnen — wis settings, .env, reports (met bevestiging!)

Notes voor Claude

  • Gebruik AskUserQuestion voor alle keuzes, niet free-text prompts
  • Voer bash in project-root uit (niet cd naar plugin-root)
  • Verwijs naar scripts met ${CLAUDE_PLUGIN_ROOT}/scripts/...
  • De gedeelde venv beteken dat alle klantprojecten dezelfde package-versies delen — als een klant een oudere versie nodig heeft, waarschuw en bied aan project- lokale venv (./.venv) te maken als override

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

007

無料

Security audit, hardening, threat modeling (STRIDE/PASTA), Red/Blue Team, OWASP checks, code review, incident response, and infrastructure security for any project.

日本語の概要は準備中です。原文の説明を表示しています。

aibot88/sec_skill_store42026年5月27日 更新

Guides the creation of agile user stories and Gherkin feature files. Use when the user wants to create a user story, write acceptance criteria, define Gherkin scenarios, or author BDD feature files. This should trigger for requests such as Create a user story; Write a user story; I need to write a user story. Part of cursor-rules-java project

日本語の概要は準備中です。原文の説明を表示しています。

aibot88/sec_skill_store42026年5月27日 更新

Facilitates conversational discovery to create Architectural Decision Records (ADRs) for non-functional requirements using the ISO/IEC 25010:2023 quality model. Use when the user wants to document quality attributes, NFR decisions, security/performance/scalability architecture, or design systems with measurable quality criteria. This should trigger for requests such as Create ADR for Non-functional requirements; Document Non-functional requirements; Capture Non-functional requirements; Generate Non-functional requirements in an ADR. Part of cursor-rules-java project

日本語の概要は準備中です。原文の説明を表示しています。

aibot88/sec_skill_store42026年5月27日 更新

Run a health check on an existing project: dependency audit, security scan, test runner detection, CI/CD evaluation, and missing configuration analysis. Maps the three execution gates (pre/in/post) from /10x-bootstrapper to an assessment framework for existing codebases. Reads optional context/foundation/stack-assessment.md from /10x-stack-assess to focus checks on identified gaps. Writes context/foundation/health-check.md with findings, prioritized fixes, and an agent-readiness verdict. Use when the user has an existing project and wants to verify its health before working with an agent. Trigger phrases: "health check", "check my project", "audit my project", "is my project healthy", "sprawdź projekt", "audyt projektu", "health-check", "project health". Use AFTER /10x-stack-assess (brownfield chain), BEFORE agent onboarding (m1-l4).

日本語の概要は準備中です。原文の説明を表示しています。

aibot88/sec_skill_store42026年5月27日 更新

10x-team

無料

You MUST use this when building projects end-to-end. Orchestrates all 12 team roles — automatically switches between CTO, architect, PM, engineers, SRE, security, DBA, QA, and EM based on the current phase of work. Starts with brainstorming before any implementation.

日本語の概要は準備中です。原文の説明を表示しています。

aibot88/sec_skill_store42026年5月27日 更新

Use when you need to add or configure Maven plugins in your pom.xml — including quality tools (enforcer, surefire, failsafe, jacoco, pitest, spotbugs, pmd), security scanning (OWASP), code formatting (Spotless), version management, container image build (Jib), build information tracking, and benchmarking (JMH) — through a consultative, modular step-by-step approach that only adds what you actually need. This should trigger for requests such as Add Maven plugins in pom.xml; Improve Maven plugins in pom.xml. Part of cursor-rules-java project

日本語の概要は準備中です。原文の説明を表示しています。

aibot88/sec_skill_store42026年5月27日 更新

aibot88 のスキルをすべて見る

このスキルの問題を報告する