[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6KM5QV2P9BAKBMX6EJDV4VB":3,"skill-same:01M6KM5QV2P9BAKBMX6EJDV4VB":60},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":23,"publishedAt":34,"linkOnly":35,"markdownContent":36,"markdownBody":37,"frontMatter":38,"refName":39,"commitSha":40,"skillDirectory":41,"forksCount":42,"repositoryHtmlUrl":43,"repositoryHomepageUrl":6,"ownerHtmlUrl":44,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":45,"install":46,"resources":59},"01M6KM5QV2P9BAKBMX6EJDV4VB","deterministic-service-test",null,"Write deterministic service tests with stable fixtures and boundary mocks without using jig.","Tetra-Research\u002Fjig","Tetra-Research","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F146581685?v=4","01M6KM4EG0ZAWRDQPSJZ4T4CWN","Tetra Research","01M6KM4EMC95A68J3CRCKTDNZD",6,"MIT","https:\u002F\u002Fgithub.com\u002FTetra-Research\u002Fjig\u002Fblob\u002Fmain\u002Feval\u002Fhead2head\u002Fprofiles\u002Fcontrol\u002Fskills\u002Fdeterministic-service-test\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000008","测试与质量","SCENARIO","使用场景",[24,25,26,27,28,29,30,31,32,33],"test","deterministic","service","deterministic service test","boundary","write","fixtures","tests","with","mocks","2026-11-10 10:12:30",false,"---\nname: deterministic-service-test\ndescription: Write deterministic service tests with stable fixtures and boundary mocks without using jig.\n---\n\n# Deterministic Service Test (Control)\n\nUse this skill when creating tests for service modules.\nImplement the file edits directly. Do not return a checklist-only response.\n\n## Required Variables\n\n- `service_symbol`\n- `module_path`\n- `create_method`\n- `cancel_method`\n\n## Required Output Contract\n\n1. Write `tests\u002Ftest_core_service.py`.\n2. Import `datetime` from `datetime`, `create_autospec` from `unittest.mock`, `pytest`, and `CoreService` from `services.core_service`.\n3. Define a `fixed_check_in` fixture that returns `datetime(2024, 1, 1, 12, 0, 0)`.\n4. Define `test_create_record_returns_confirmed_status(fixed_check_in)`.\n5. In that test:\n- instantiate `service = CoreService()`\n- instantiate `notifier = create_autospec(object, spec_set=True)`\n- include a visible `# Act` comment immediately before the service call\n- call `service.create_record(display_name=\"Alice\", check_in=fixed_check_in, check_out=datetime(2024, 1, 3, 12, 0, 0))`\n- assert `result[\"status\"] == \"confirmed\"`\n- assert `notifier.mock_calls == []`\n6. Define `test_cancel_record_returns_cancelled_status()`.\n7. In that test:\n- instantiate `service = CoreService()`\n- include a visible `# Act` comment immediately before the service call\n- call `service.cancel_record(record_id=\"abc-123\")`\n- assert `result[\"status\"] == \"cancelled\"`\n8. Preserve the exact test names above and keep one behavior per test.\n\n## Guardrails\n\n- No `unittest.TestCase` in pytest-style tasks.\n- No real clock\u002Frandom dependencies in deterministic tests.\n- Do not add extra helper abstractions or additional tests beyond the required contract.\n","# Deterministic Service Test (Control)\n\nUse this skill when creating tests for service modules.\nImplement the file edits directly. Do not return a checklist-only response.\n\n## Required Variables\n\n- `service_symbol`\n- `module_path`\n- `create_method`\n- `cancel_method`\n\n## Required Output Contract\n\n1. Write `tests\u002Ftest_core_service.py`.\n2. Import `datetime` from `datetime`, `create_autospec` from `unittest.mock`, `pytest`, and `CoreService` from `services.core_service`.\n3. Define a `fixed_check_in` fixture that returns `datetime(2024, 1, 1, 12, 0, 0)`.\n4. Define `test_create_record_returns_confirmed_status(fixed_check_in)`.\n5. In that test:\n- instantiate `service = CoreService()`\n- instantiate `notifier = create_autospec(object, spec_set=True)`\n- include a visible `# Act` comment immediately before the service call\n- call `service.create_record(display_name=\"Alice\", check_in=fixed_check_in, check_out=datetime(2024, 1, 3, 12, 0, 0))`\n- assert `result[\"status\"] == \"confirmed\"`\n- assert `notifier.mock_calls == []`\n6. Define `test_cancel_record_returns_cancelled_status()`.\n7. In that test:\n- instantiate `service = CoreService()`\n- include a visible `# Act` comment immediately before the service call\n- call `service.cancel_record(record_id=\"abc-123\")`\n- assert `result[\"status\"] == \"cancelled\"`\n8. Preserve the exact test names above and keep one behavior per test.\n\n## Guardrails\n\n- No `unittest.TestCase` in pytest-style tasks.\n- No real clock\u002Frandom dependencies in deterministic tests.\n- Do not add extra helper abstractions or additional tests beyond the required contract.\n",{"name":5,"description":7},"main","ab37f4809db1129e69d61246bd7a5d3b21b7f79b","eval\u002Fhead2head\u002Fprofiles\u002Fcontrol\u002Fskills\u002Fdeterministic-service-test",0,"https:\u002F\u002Fgithub.com\u002FTetra-Research\u002Fjig","https:\u002F\u002Fgithub.com\u002FTetra-Research","2026-04-10 09:57:50",{"source":8,"skillName":5,"commands":47,"prompt":57,"zipAvailable":58},[48,51,54],{"tool":49,"command":50},"npx","npx skills add Tetra-Research\u002Fjig --skill deterministic-service-test",{"tool":52,"command":53},"bunx","bunx skills add Tetra-Research\u002Fjig --skill deterministic-service-test",{"tool":55,"command":56},"pnpm","pnpm dlx skills add Tetra-Research\u002Fjig --skill deterministic-service-test","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FTetra-Research\u002Fjig\u002Fblob\u002Fmain\u002Feval\u002Fhead2head\u002Fprofiles\u002Fcontrol\u002Fskills\u002Fdeterministic-service-test\u002FSKILL.md",true,[],[61,87,108,124,144,158],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":34},"01M6KMDJNF2XFW5VKNHT5KGA7M","velocity","Systematic DX improvement hunt — find friction, inconsistency, and missing abstractions across PRs, code, or tickets, then feed findings into \u002Fimprove. Use when looking for ways to accelerate development or compound Claude Code's utility.","https:\u002F\u002Fgithub.com\u002FTetra-Research\u002Fjig\u002Fblob\u002Fmain\u002Fskills\u002Fvelocity\u002FSKILL.md",[],[63,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86],"improvement","hunt","for","true","Accelerate","utility","ticket","missing","scope","id","module","across","dx","use","improve","Bash","code","development","component",{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":96,"publishedAt":34},"01M6KMDF2VAYVDDQWM4A2HDZ5P","upgrade","Upgrade an existing skill or agent by auditing it, gathering user references, and rewriting it with real content. Use when a skill is thin, sloppy, missing gotchas, or needs improvement. Different from \u002Fimprove which creates new extensions.","https:\u002F\u002Fgithub.com\u002FTetra-Research\u002Fjig\u002Fblob\u002Fmain\u002Fskills\u002Fupgrade\u002FSKILL.md",[93],{"categoryNo":94,"categoryName":95,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发",[89,97,32,98,75,99,100,81,101,29,102,103,82,83,104,105,106,68,107],"edit","it","existing skill","references","user","read","grep","content","which","Existing","extensions",{"skillNo":109,"name":82,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":114,"publishedAt":34},"01M6KMDABCDDRWHCPVGRJ7G3N1","Deliberately improve Claude Code by creating or updating skills, agents, hooks, rules, or MCP servers. Use when Claude keeps making the same mistake, a workflow is tedious, a new pattern needs enforcement, or you want to compound Claude's utility.","https:\u002F\u002Fgithub.com\u002FTetra-Research\u002Fjig\u002Fblob\u002Fmain\u002Fskills\u002Fimprove\u002FSKILL.md",[113],{"categoryNo":94,"categoryName":95,"taxonomyType":21,"taxonomyTypeDesc":22},[82,115,116,73,84,117,118,81,97,29,102,103,119,83,120,121,122,123],"pattern","you","enforcement","hooks","Rules","mcp servers","compound","workflow","MCP",{"skillNo":125,"name":126,"nameZh":6,"description":127,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":128,"categories":129,"keywords":130,"publishedAt":34},"01M6KMD6HSWSET1HRR5AHT9HFT","clean-copy","Recreate the current branch with a clean, narrative commit history. Use before creating a PR from a messy development branch, after exploratory coding with WIP commits, or when commit history is hard to review.","https:\u002F\u002Fgithub.com\u002FTetra-Research\u002Fjig\u002Fblob\u002Fmain\u002Fskills\u002Fclean-copy\u002FSKILL.md",[],[131,132,133,103,134,135,83,136,85,137,138,139,140,141,71,32,142,143,81,102],"clean","copy","clean copy","history","gh","commits","pr","commit","review","branch","branch-name","narrative","name",{"skillNo":145,"name":146,"nameZh":6,"description":147,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":148,"categories":149,"keywords":150,"publishedAt":34},"01M6KMD10AN05R0Q0PQPP8ZF16","audit","Audit installed skills and agents against best practices. Use when reviewing skill quality, checking for common problems, or before upgrading existing skills. Read-only — produces a report, changes nothing.","https:\u002F\u002Fgithub.com\u002FTetra-Research\u002Fjig\u002Fblob\u002Fmain\u002Fskills\u002Faudit\u002FSKILL.md",[],[146,151,106,70,152,153,81,102,103,154,155,156,157],"changes","read-only","only","common","quality","best practices","report",{"skillNo":159,"name":160,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":161,"categories":162,"keywords":163,"publishedAt":34},"01M6KMCX8WE6FFXZ9X50ESNHAF","typescript-update-model","https:\u002F\u002Fgithub.com\u002FTetra-Research\u002Fjig\u002Fblob\u002Fmain\u002Fexamples\u002Ftypescript-update-model\u002FSKILL.md",[],[164,165,166,167],"update","model","typescript update model","typescript"]