From agentic
Provides testing philosophy, patterns, and strategies. Applied when writing tests, assessing coverage, or designing test architectures.
npx claudepluginhub rexeus/agentic --plugin agenticThis skill uses the workspace's default tool permissions.
Examples use **TypeScript/JavaScript** conventions (Vitest, Jest, Mocha).
Provides Ktor server patterns for routing DSL, plugins (auth, CORS, serialization), Koin DI, WebSockets, services, and testApplication testing.
Conducts multi-source web research with firecrawl and exa MCPs: searches, scrapes pages, synthesizes cited reports. For deep dives, competitive analysis, tech evaluations, or due diligence.
Provides demand forecasting, safety stock optimization, replenishment planning, and promotional lift estimation for multi-location retailers managing 300-800 SKUs.
Examples use TypeScript/JavaScript conventions (Vitest, Jest, Mocha). For other languages, adapt patterns to the project's test framework.
Tests aren't bureaucracy. They're a commitment to excellence — proof that the code does what it claims. When this skill is active, apply these principles to every test you write or assess.
it('returns 401 when token is expired') is both test and documentation.Follow the Arrange-Act-Assert pattern:
// Arrange: set up the preconditions
const user = createTestUser({ role: 'admin' })
const request = buildRequest({ userId: user.id })
// Act: execute the behavior under test
const result = await handleRequest(request)
// Assert: verify the outcome
expect(result.status).toBe(200)
Each section should be clearly separated. If Arrange is more than 5 lines, extract a factory or fixture.
Test names should read as specifications:
describe('TokenService') — the unit under testdescribe('validate()') — the method or behaviorit('returns invalid when token is expired') — the specific casePattern: it('<expected outcome> when <condition>')
Use the right double for the job:
Rule: Prefer stubs over mocks. Mocking implementation details creates brittle tests.
Before writing tests: