{"id":"140ef712-0dc2-407b-9b2c-3290089b10e1","shortId":"kjqbH3","kind":"skill","title":"python-testing-patterns","tagline":"Implement comprehensive testing strategies with pytest, fixtures, mocking, and test-driven development. Use when writing Python tests, setting up test suites, or implementing testing best practices.","description":"# Python Testing Patterns\n\nComprehensive guide to implementing robust testing strategies in Python using pytest, fixtures, mocking, parameterization, and test-driven development practices.\n\n## Use this skill when\n\n- Writing unit tests for Python code\n- Setting up test suites and test infrastructure\n- Implementing test-driven development (TDD)\n- Creating integration tests for APIs and services\n- Mocking external dependencies and services\n- Testing async code and concurrent operations\n- Setting up continuous testing in CI/CD\n- Implementing property-based testing\n- Testing database operations\n- Debugging failing tests\n\n## Do not use this skill when\n\n- The task is unrelated to python testing patterns\n- You need a different domain or tool outside this scope\n\n## Instructions\n\n- Clarify goals, constraints, and required inputs.\n- Apply relevant best practices and validate outcomes.\n- Provide actionable steps and verification.\n- If detailed examples are required, open `resources/implementation-playbook.md`.\n\n## Resources\n\n- `resources/implementation-playbook.md` for detailed patterns and examples.\n\n## Limitations\n- Use this skill only when the task clearly matches the scope described above.\n- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.\n- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.","tags":["python","testing","patterns","antigravity","awesome","skills","sickn33","agent-skills","agentic-skills","ai-agent-skills","ai-agents","ai-coding"],"capabilities":["skill","source-sickn33","skill-python-testing-patterns","topic-agent-skills","topic-agentic-skills","topic-ai-agent-skills","topic-ai-agents","topic-ai-coding","topic-ai-workflows","topic-antigravity","topic-antigravity-skills","topic-claude-code","topic-claude-code-skills","topic-codex-cli","topic-codex-skills"],"categories":["antigravity-awesome-skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/sickn33/antigravity-awesome-skills/python-testing-patterns","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add sickn33/antigravity-awesome-skills","source_repo":"https://github.com/sickn33/antigravity-awesome-skills","install_from":"skills.sh"}},"qualityScore":"0.700","qualityRationale":"deterministic score 0.70 from registry signals: · indexed on github topic:agent-skills · 34616 github stars · SKILL.md body (1,424 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-04-23T00:51:27.355Z","embedding":null,"createdAt":"2026-04-18T21:43:09.789Z","updatedAt":"2026-04-23T00:51:27.355Z","lastSeenAt":"2026-04-23T00:51:27.355Z","tsv":"'action':152 'api':82 'appli':144 'ask':203 'async':91 'base':105 'best':30,146 'boundari':211 'ci/cd':101 'clarif':205 'clarifi':138 'clear':178 'code':64,92 'comprehens':6,35 'concurr':94 'constraint':140 'continu':98 'creat':78 'criteria':214 'databas':108 'debug':110 'depend':87 'describ':182 'detail':157,166 'develop':17,53,76 'differ':130 'domain':131 'driven':16,52,75 'environ':194 'environment-specif':193 'exampl':158,169 'expert':199 'extern':86 'fail':111 'fixtur':11,46 'goal':139 'guid':36 'implement':5,28,38,72,102 'infrastructur':71 'input':143,208 'instruct':137 'integr':79 'limit':170 'match':179 'miss':216 'mock':12,47,85 'need':128 'open':161 'oper':95,109 'outcom':150 'output':188 'outsid':134 'parameter':48 'pattern':4,34,126,167 'permiss':209 'practic':31,54,147 'properti':104 'property-bas':103 'provid':151 'pytest':10,45 'python':2,21,32,43,63,124 'python-testing-pattern':1 'relev':145 'requir':142,160,207 'resourc':163 'resources/implementation-playbook.md':162,164 'review':200 'robust':39 'safeti':210 'scope':136,181 'servic':84,89 'set':23,65,96 'skill':57,117,173 'skill-python-testing-patterns' 'source-sickn33' 'specif':195 'step':153 'stop':201 'strategi':8,41 'substitut':191 'success':213 'suit':26,68 'task':120,177 'tdd':77 'test':3,7,15,22,25,29,33,40,51,61,67,70,74,80,90,99,106,107,112,125,197 'test-driven':14,50,73 'tool':133 'topic-agent-skills' 'topic-agentic-skills' 'topic-ai-agent-skills' 'topic-ai-agents' 'topic-ai-coding' 'topic-ai-workflows' 'topic-antigravity' 'topic-antigravity-skills' 'topic-claude-code' 'topic-claude-code-skills' 'topic-codex-cli' 'topic-codex-skills' 'treat':186 'unit':60 'unrel':122 'use':18,44,55,115,171 'valid':149,196 'verif':155 'write':20,59","prices":[{"id":"e62fdc17-a49a-475e-8440-7ba802bf58b1","listingId":"140ef712-0dc2-407b-9b2c-3290089b10e1","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"sickn33","category":"antigravity-awesome-skills","install_from":"skills.sh"},"createdAt":"2026-04-18T21:43:09.789Z"}],"sources":[{"listingId":"140ef712-0dc2-407b-9b2c-3290089b10e1","source":"github","sourceId":"sickn33/antigravity-awesome-skills/python-testing-patterns","sourceUrl":"https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/python-testing-patterns","isPrimary":false,"firstSeenAt":"2026-04-18T21:43:09.789Z","lastSeenAt":"2026-04-23T00:51:27.355Z"}],"details":{"listingId":"140ef712-0dc2-407b-9b2c-3290089b10e1","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"sickn33","slug":"python-testing-patterns","github":{"repo":"sickn33/antigravity-awesome-skills","stars":34616,"topics":["agent-skills","agentic-skills","ai-agent-skills","ai-agents","ai-coding","ai-workflows","antigravity","antigravity-skills","claude-code","claude-code-skills","codex-cli","codex-skills","cursor","cursor-skills","developer-tools","gemini-cli","gemini-skills","kiro","mcp","skill-library"],"license":"mit","html_url":"https://github.com/sickn33/antigravity-awesome-skills","pushed_at":"2026-04-22T06:40:00Z","description":"Installable GitHub library of 1,400+ agentic skills for Claude Code, Cursor, Codex CLI, Gemini CLI, Antigravity, and more. Includes installer CLI, bundles, workflows, and official/community skill collections.","skill_md_sha":"f37c8a3c3f38caa4ebfb11ffae456b94e714c64c","skill_md_path":"skills/python-testing-patterns/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/python-testing-patterns"},"layout":"multi","source":"github","category":"antigravity-awesome-skills","frontmatter":{"name":"python-testing-patterns","description":"Implement comprehensive testing strategies with pytest, fixtures, mocking, and test-driven development. Use when writing Python tests, setting up test suites, or implementing testing best practices."},"skills_sh_url":"https://skills.sh/sickn33/antigravity-awesome-skills/python-testing-patterns"},"updatedAt":"2026-04-23T00:51:27.355Z"}}