Install
$ agentstack add skill-steph-dove-klaussy-agents-fastapi-test ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Write tests for the current changes. Follow these steps:
- Read CLAUDE.md to understand the project's test framework, conventions, and test commands.
- Read any
.claude/rules/*.mdwhosepaths:glob matches the changed files — they capture testing conventions specific to this layer (e.g. how API tests are structured vs. how DB tests are structured). - Identify what changed with
git diff master...HEAD(the whole branch's work), plusgit diffandgit diff --cachedfor any uncommitted edits — not a baregit diff, which would miss everything already committed on the branch. Classify the change:
- Pure refactor (code moved/renamed, no behavior change): update existing tests' imports and call sites; do NOT invent new tests for behavior that already had coverage.
- New behavior or modified behavior: continue to step 4.
- Find existing test files for the modules you're testing. Read them fully — match their patterns:
- File naming and location conventions.
- Fixtures, factories, helpers, and setup/teardown patterns.
- Assertion style and test structure.
- How similar features are tested (use as a template).
- Write focused tests that cover:
- Happy path — the expected behavior works correctly.
- Edge cases — empty inputs, boundary values, null/nil, large inputs.
- Error cases — invalid input, missing data, permission failures. Test that errors are handled, not just that they don't crash.
- Behavior, not implementation — test what the code does, not how it does it. Tests should survive a refactor that preserves behavior.
- Run the test suite to verify everything passes, including your new tests.
Rules
- Match existing patterns. If the codebase uses factories, use factories. If it uses fixtures, use fixtures. Don't introduce a new testing pattern.
- Mock only: (1) external network services (HTTP APIs, payment gateways, third-party SDKs), (2) slow I/O without a fast fixture (real databases, filesystems), (3) non-deterministic sources (current time, randomness). Do NOT mock the code under test. Do NOT mock internal modules just to avoid setting them up.
- Don't under-test. If you changed a conditional, test both branches. If you added error handling, test the error path. "Happy path only" is not adequate coverage.
- Each test should test one thing. If a test name needs "and" in it, split it into two tests.
- Tests must be deterministic. No reliance on timing, ordering, or random data without seeds.
- A test that can't fail is worthless. For your key behavioral tests, make sure the assertion would actually break if the behavior were wrong — a green test against code you never verified can fail is false confidence. If a test passes no matter what, it's testing the mock or nothing.
When NOT to use
- The diff has no behavior change at all (formatting, comments, dead-code removal) — there's nothing to test.
- The user wants the test suite fixed (failing tests) rather than new tests written — diagnose the failures with debug or fix instead.
- The user wants to rewrite all existing tests to a new framework — that's a refactor of test infrastructure, not test authoring.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: steph-dove
- Source: steph-dove/klaussy-agents
- License: MIT
- Homepage: https://klaussy.com
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.