Testing Craft CMS 5 plugins and modules with Pest — test isolation, database safety, and the markhuot/craft-pest-core harness.
Uma skill em “Dados, análises e pesquisa”. Comandos prontos para Claude Code, Codex, OpenCode e mais 32 agentes.
Descrição completa
Testing Craft CMS 5 plugins and modules with Pest — test isolation, database safety, and the markhuot/craft-pest-core harness. ALWAYS load when writing, running, fixing, or reviewing tests for a Craft plugin or module, and whenever a suite touches a real Craft install. Covers why rollback is opt-in, tests/Pest.php + tests/bootstrap.php wiring, phpunit.xml.dist <env> pins (force DB name + table prefix, default connection coordinates for CI), why --configuration= defeats DB isolation, installing the plugin under test, process-timezone pinning, per-test site fixtures, idempotent Install migrations, stale service caches when components get swapped, muting audit sinks, queue stubs, factories, HTTP/DB assertions, CI test jobs. Triggers on: Pest, pestphp, craft-pest-core, markhuot, RefreshesDatabase, InstallsCraft, tests/Pest.php, phpunit.xml.dist, vendor/bin/pest, composer test, ddev craft pest, db_test, CRAFT_DB_DATABASE, CRAFT_DB_TABLE_PREFIX, Entry::factory(), assertDatabaseHas, afterEach, transaction rollback, test site fixture, fixture cleanup sweep, createIndexIfMissing, Db::findForeignKey, UserPermissions::reset(), TestCaseAlreadyInUse, cookieValidationKey with --filter, 'too many keys', 'tests pollute the database', 'tests created thousands of entries', 'passes on dev but fails in isolation', 'passes alone but fails in the suite', 'datetimes off by hours in tests', 'connects locally but not on CI', flaky order-dependent test, no Pest job in CI. Do NOT trigger for front-end/JS testing or PHP style analysis.
Skill
Dados, análises e pesquisa
35 agentes
93 estrelas
Apache-2.0
Este item vem do ClaudSkills conjunto de dados aberto. A ANG não executou nem auditou esta skill; confira a fonte antes de instalar.
AiderNenhum suporte a SKILL.md documentado para Aider.Fonte
PlandexNenhum suporte a SKILL.md documentado para Plandex.Fonte
CodeGPTNenhum suporte a SKILL.md documentado para CodeGPT.Fonte
SWE-agentNenhum suporte a SKILL.md documentado para SWE-agent.Fonte
mini-SWE-agentNenhum suporte a SKILL.md documentado para mini-SWE-agent.Fonte
JulesNenhum suporte a SKILL.md documentado para Jules.Fonte
Open SWENenhum suporte a SKILL.md documentado para Open SWE.Fonte
GitLab DuoNenhum suporte a SKILL.md documentado para GitLab Duo.Fonte
O suporte vem da documentação oficial de cada agente sobre SKILL.md e MCP; a ANG não executou este item em todos os agentes.
Em palavras simples
Sem precisar de formação técnica.
O que é?
Um skill é um pacote de instruções que você carrega no seu agente (como Claude Code ou Codex). É como instalar um app no celular: instala uma vez e o agente sabe fazer aquele trabalho.
Para que serve?
Usado em trabalhos de “Dados, análises e pesquisa”. Nas palavras do publicador: Testing Craft CMS 5 plugins and modules with Pest — test isolation, database safety, and the markhuot/craft-pest-core harness.
Exemplo de pedido
“Pesquise este assunto e faça um resumo.”
Agentes
Comandos prontos para Claude Code, Codex, OpenCode e mais 32 agentes.
Posso confiar?
93 estrelas no GitHub · Apache-2.0. Confira a fonte antes de instalar.
Uso
Últimos 30 dias, no site e nos agentes.
0em estantes
0visualizações
0comandos copiados
0downloads pelo site
0instalações pelo app
0instalações feitas pelo agente
0usuários ativos
Uma pontuação de uso real precisa de pelo menos 20 usuários e 50 tarefas no app da ANG; agora são 0 usuários e 0 tarefas. Até lá, a potência é estimada pelos dados da entrada.