alirezarezvani/init

Configurer Playwright dans un projet. À utiliser lorsque l'utilisateur dit « configurer Playwright », « ajouter des tests e2e », « mettre en place les tests », « initialiser Playwright » ou « ajouter l'infrastructure de test ».

Qu'est-ce que init ?

Cette compétence automatise la configuration de Playwright dans un projet de développement, ce qui permet aux développeurs de mettre en place rapidement des tests de bout en bout (e2e). Elle est particulièrement utile pour les projets utilisant des frameworks comme Next.js, Angular ou Vue, et s'active via des commandes en langage naturel, comme « configurer Playwright » ou « ajouter des tests e2e ». La compétence exécute les étapes nécessaires pour installer les dépendances, créer les fichiers de configuration et de test, et même lancer les tests pour valider le bon fonctionnement de l'infrastructure. Elle prend en charge les navigateurs Chromium, Firefox et WebKit, et peut s'adapter à la présence d'un gestionnaire de paquets (npm, yarn, pnpm, bun) et d'un répertoire de tests personnalisé.

Compatible avec~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/alirezarezvani/claude-skills/tree/main/skills/init

Installed? Explore more Développement et programmation skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

Demander à votre IA préférée

Ouvre une nouvelle conversation avec cette compétence d'agent déjà préchargée.

Documentation

Que fait init ?

Configurer Playwright dans un projet. À utiliser lorsque l'utilisateur dit « configurer Playwright », « ajouter des tests e2e », « mettre en place les tests », « initialiser Playwright » ou « ajouter l'infrastructure de test ».

Aperçu

Cette compétence configure automatiquement Playwright dans votre projet. Elle détecte le framework (Next.js, Angular, Vue, etc.), installe les dépendances, crée les fichiers de configuration et de test, et exécute les tests pour s'assurer que tout fonctionne.

Utilisation

  1. L'utilisateur se trouve dans un répertoire de projet.
  2. L'utilisateur invoque la compétence avec un message comme « configurer Playwright » ou « ajouter des tests e2e ».
  3. La compétence exécute npx playwright install pour télécharger les navigateurs.
  4. Elle crée un fichier de configuration playwright.config.ts (ou .js si TypeScript n'est pas utilisé).
  5. Elle génère un exemple de test dans tests/example.spec.ts (ou e2e/ selon la détection du framework).
  6. Elle exécute npx playwright test pour vérifier que les tests passent.

Exemples

  • « Configure Playwright » → La compétence détecte que vous voulez configurer Playwright et exécute les étapes ci-dessus.
  • « Set up e2e tests » → Même comportement.

Notes

  • Si un fichier playwright.config.ts existe déjà, la compétence ne l'écrase pas.
  • La compétence détecte le gestionnaire de paquets (npm, yarn, pnpm, bun) et utilise la commande appropriée.
  • Si un répertoire de tests personnalisé est défini dans la configuration du projet (par exemple, e2e/ dans un projet Angular), la compétence essaie de l'utiliser.

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

alirezarezvani/aws-solution-architect

Design AWS architectures for startups using serverless patterns and IaC templates. Use when asked to design serverless architecture, create CloudFormation templates, optimize AWS costs, set up CI/CD pipelines, or migrate to AWS. Covers Lambda, API Gateway, DynamoDB, ECS, Aurora, and cost optimization.

alirezarezvani/board

Read, write, and browse the AgentHub message board for agent coordination. Use when the user runs /hub:board or asks to post, read, or inspect coordination messages between competing AgentHub agents.

alirezarezvani/board-prep

Board meeting preparation for the adversarial scenario, not the friendly one. Forces numbers-cold mastery, anticipates hard questions, builds a narrative that acknowledges weakness without losing the room. Use when preparing for a board meeting, an investor update, fundraising presentation, or any high-stakes adversarial review where every number must live in your head not just on a slide.

alirezarezvani/browserstack

Run tests on BrowserStack. Use when user mentions "browserstack", "cross-browser", "cloud testing", "browser matrix", "test on safari", "test on firefox", or "browser compatibility".

alirezarezvani/business-growth-skills

Router/index for the 4 business & growth skills bundled in this plugin: customer-success-manager (health scoring, churn risk, expansion), sales-engineer (RFP analysis, competitive matrices, PoC planning), revenue-operations (pipeline, forecast accuracy, GTM efficiency), and contract-and-proposal-writer. Use when a growth/revenue request doesn't obviously match one skill and you need to pick the right one (e.g., 'which accounts are at risk', 'should we bid on this RFP').

alirezarezvani/challenge

Pre-mortem plan analysis. Imagine the plan failed 12 months from now and work backwards to find the weaknesses. Surfaces assumptions, dependencies, and execution risks before committing resources. Use when before significant resource commitment, before presenting to a board or investors, when feedback has been one-sidedly positive, or when there is pressure to move fast and figure it out later.

alirezarezvani/claude-skills

Decision-grade entity research skill — produces a hypothesis-tested dossier on a specific company, person, nonprofit, or government org, not a generic profile. Forcing intake makes the user state their hypothesis upfront (what they already believe and want to verify or disprove) so the dossier tests it rather than confirms it. Output is an editable Word document (.docx) with verdict on the hypothesis, identity facts, 12-month activity timeline, network and reputation signals, red flags, conversation hooks tied to specific findings, and source-provenance audit log. Uses WebSearch + WebFetch + free APIs (SEC EDGAR, GitHub, ProPublica) as workhorses; optional BYOK MCPs enhance coverage. Use when the user asks for background research, diligence, or meeting prep on a specific entity (e.g., 'prep me for a meeting with [person/company]', 'due diligence on [company]'). Honors sensitivity exclusions for journalism + personal-vetting contexts.

alirezarezvani/c-level-advisor

10 C-level advisory agent skills and plugins for Claude Code, Codex, Gemini CLI, Cursor, OpenClaw. CEO, CTO, COO, CPO, CMO, CFO, CRO, CISO, CHRO, Executive Mentor. Multi-role board meetings, strategy routing, structured recommendations. For founders needing executive-level decision support.

alirezarezvani/coverage

Analyze test coverage gaps. Use when user says "test coverage", "what's not tested", "coverage gaps", "missing tests", "coverage report", or "what needs testing".

alirezarezvani/engineering-advanced-skills

Index of 37 advanced engineering agent skills for Claude Code, Codex, Gemini CLI, Cursor, OpenClaw. Use when browsing or choosing among the POWERFUL-tier engineering skills: agent design, RAG, MCP servers, CI/CD, database design, observability, security auditing, changelog/release automation, reliability (SLO/chaos/flags/operators), platform ops.

alirezarezvani/engineering-skills

Index of the engineering-team skills bundle for Claude Code, Codex, Gemini CLI, Cursor, OpenClaw, and 6 more tools. Architecture, frontend, backend, QA, DevOps, security, AI/ML, data engineering, Playwright, Stripe, AWS, MS365 (stdlib-only Python tools). Use when browsing or choosing among engineering-team role skills — load only the one specialist SKILL.md you need, never bulk-load the bundle.

alirezarezvani/eval

Evaluate and rank agent results by metric or LLM judge for an AgentHub session. Use when the user runs /hub:eval or asks to score, compare, or pick a winner among completed AgentHub agents.

alirezarezvani/extract

Turn a proven pattern or debugging solution into a standalone reusable skill with SKILL.md, reference docs, and examples. Use when the user runs /si:extract or asks to package a recurring solution from memory into a skill.

alirezarezvani/finance-skills

Router/index for the 2 finance skills bundled in this plugin: financial-analyst (ratio analysis, DCF valuation, budget variance, rolling forecasts) and saas-metrics-coach (ARR/MRR, churn, CAC/LTV, NRR, quick ratio). Use when a finance request doesn't obviously match one skill and you need to pick the right one (e.g., 'analyze these financials', 'how healthy are my SaaS metrics').

alirezarezvani/fix

Fix failing or flaky Playwright tests. Use when user says "fix test", "flaky test", "test failing", "debug test", "test broken", "test passes sometimes", or "intermittent failure".

alirezarezvani/generate

Generate Playwright tests. Use when user says "write tests", "generate tests", "add tests for", "test this component", "e2e test", "create test for", "test this page", or "test this feature".

alirezarezvani/hard-call

/em:hard-call — Framework for decisions with no good options. Use when every option is painful and a structured 10/10/10 + regret-minimization pass is needed — e.g. choosing between a layoff and a down round, or killing a beloved product line.

alirezarezvani/loop

Start an autonomous experiment loop with user-selected interval (10min, 1h, daily, weekly, monthly). Uses CronCreate for scheduling. Use when the user runs /ar:loop or asks to run an autoresearch experiment continuously on a schedule.

alirezarezvani/marketing-skills

Directory and router for the marketing skills library. Use when you need to find the right marketing skill for a task, see what marketing capabilities exist, or get oriented in this plugin. 44 specialist skills across 8 pods (content, SEO + AEO, CRO, channels, growth, intelligence, sales enablement, ops), 59 stdlib Python tools. Routes to one skill — it does not execute marketing work itself.

alirezarezvani/merge

Merge the winning agent's branch into base, archive losers, and clean up worktrees. Use when the user runs /hub:merge or asks to land the winning AgentHub result and tidy the session.

Skills associés