[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6J59VHB77KGHRYECWN6WRNJ":3,"skill-same:01M6J59VHB77KGHRYECWN6WRNJ":65},{"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":18,"publishedAt":37,"linkOnly":38,"markdownContent":39,"markdownBody":40,"frontMatter":41,"refName":42,"commitSha":43,"skillDirectory":44,"forksCount":45,"repositoryHtmlUrl":46,"repositoryHomepageUrl":47,"ownerHtmlUrl":48,"ownerBlogUrl":6,"ownerDescription":49,"updatedAt":50,"install":51,"resources":64},"01M6J59VHB77KGHRYECWN6WRNJ","mk-task-queue",null,"Task claiming and file-ownership tracking for parallel execution: agents claim tasks from a shared queue with ownership enforced. Use during parallel phases with multiple simultaneous agents.","ngocsangyem\u002FMeowKit","ngocsangyem","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F33769536?v=4","01M6J3FSMJAG9PVQEGRT7AQ9J2","Sang Nguyen","01M6J3FSRTJG0MNP6NV71639RM",16,"MIT","https:\u002F\u002Fgithub.com\u002Fngocsangyem\u002FMeowKit\u002Fblob\u002Fmain\u002Fpackages\u002Fmewkit\u002Fsrc\u002Fmigrate\u002Fmodules\u002Fcursor\u002Froot\u002F.cursor\u002Fskills\u002Fmk-task-queue\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36],"mk task queue","task queue","queue","task","parallel phases","ownership","tracking","file-ownership","parallel execution","with","tasks","file","use","execution","claim","for","parallel","shared","2026-11-10 10:12:30",false,"---\nname: \"mk-task-queue\"\ndescription: \"Task claiming and file-ownership tracking for parallel execution: agents claim tasks from a shared queue with ownership enforced. Use during parallel phases with multiple simultaneous agents.\"\n---\n\n# Task Queue & Ownership Tracker\n\nManages task assignment and file ownership during parallel execution.\n\n## Task Queue\n\nTasks are tracked in `.meowkit\u002Fstate\u002Ftask-queue.json`:\n\n```json\n{\n  \"tasks\": [\n    {\n      \"id\": 1,\n      \"description\": \"Implement API endpoints\",\n      \"owner\": null,\n      \"status\": \"pending\",\n      \"ownership\": [\"src\u002Fapi\u002F*\", \"src\u002Froutes\u002F*\"],\n      \"blocked_by\": []\n    },\n    {\n      \"id\": 2,\n      \"description\": \"Implement UI components\",\n      \"owner\": null,\n      \"status\": \"pending\",\n      \"ownership\": [\"src\u002Fcomponents\u002F*\", \"src\u002Fpages\u002F*\"],\n      \"blocked_by\": []\n    }\n  ]\n}\n```\n\n## Task Lifecycle\n\n```\npending → claimed (agent assigned) → in_progress → completed\n                                   → blocked (dependency not met)\n```\n\n## Claiming Protocol\n\n1. Agent requests next available task\n2. Queue returns lowest-ID task where: `status=pending` AND `blocked_by` all completed\n3. Agent declares ownership globs\n4. Queue checks for overlap with other in_progress tasks\n5. If overlap: REJECT claim, report conflict to orchestrator\n6. If no overlap: ASSIGN task, set `status=in_progress`, record `owner`\n\n## Ownership Enforcement\n\nEach task declares file ownership via glob patterns.\nBefore any file write, check if the file matches the agent's declared ownership.\n\n| Action | Owned File? | Result |\n|--------|------------|--------|\n| Read | Any | Always allowed |\n| Write\u002FEdit | Owned | Allowed |\n| Write\u002FEdit | Not owned | STOP — report ownership violation |\n| Write\u002FEdit | Overlapping | STOP — report conflict to orchestrator |\n\n## Integration\n\n- **Orchestrator** creates the task queue when decomposing parallel work\n- **Parallel agents** claim and complete tasks\n- **Orchestrator** monitors queue for completion and triggers integration test\n- Queue is ephemeral (.meowkit\u002Fstate\u002F) — recreated per parallel execution\n\n## Team Coordination\n\nTeam-mode coordination rules (file ownership, commit discipline, completion messages) live\nin `.cursor\u002Fskills\u002Fteam-config\u002Freferences\u002Fteam-coordination.md`, loaded by `mk:team-config`\non team activation.\n\n## Gotchas\n\n- **Race condition on claims:** Two agents reading `task-queue.json` simultaneously may both claim the same task. Mitigation: orchestrator is the sole claim-serializer — agents REQUEST claims through orchestrator, never self-claim directly\n- **Ownership globs must not overlap:** `src\u002Fapi\u002F*` and `src\u002Fapi\u002Fauth\u002F*` overlap — the more specific glob must be in the SAME task, not split across agents\n- **Queue file doesn't auto-create:** Orchestrator must create `.meowkit\u002Fstate\u002Ftask-queue.json` before dispatching parallel agents. If missing, agents should STOP and report, not create it themselves\n- **Completed tasks are not removed:** Tasks stay in queue with `status=completed` for audit trail. Queue is cleaned up only when the parallel execution phase ends","# Task Queue & Ownership Tracker\n\nManages task assignment and file ownership during parallel execution.\n\n## Task Queue\n\nTasks are tracked in `.meowkit\u002Fstate\u002Ftask-queue.json`:\n\n```json\n{\n  \"tasks\": [\n    {\n      \"id\": 1,\n      \"description\": \"Implement API endpoints\",\n      \"owner\": null,\n      \"status\": \"pending\",\n      \"ownership\": [\"src\u002Fapi\u002F*\", \"src\u002Froutes\u002F*\"],\n      \"blocked_by\": []\n    },\n    {\n      \"id\": 2,\n      \"description\": \"Implement UI components\",\n      \"owner\": null,\n      \"status\": \"pending\",\n      \"ownership\": [\"src\u002Fcomponents\u002F*\", \"src\u002Fpages\u002F*\"],\n      \"blocked_by\": []\n    }\n  ]\n}\n```\n\n## Task Lifecycle\n\n```\npending → claimed (agent assigned) → in_progress → completed\n                                   → blocked (dependency not met)\n```\n\n## Claiming Protocol\n\n1. Agent requests next available task\n2. Queue returns lowest-ID task where: `status=pending` AND `blocked_by` all completed\n3. Agent declares ownership globs\n4. Queue checks for overlap with other in_progress tasks\n5. If overlap: REJECT claim, report conflict to orchestrator\n6. If no overlap: ASSIGN task, set `status=in_progress`, record `owner`\n\n## Ownership Enforcement\n\nEach task declares file ownership via glob patterns.\nBefore any file write, check if the file matches the agent's declared ownership.\n\n| Action | Owned File? | Result |\n|--------|------------|--------|\n| Read | Any | Always allowed |\n| Write\u002FEdit | Owned | Allowed |\n| Write\u002FEdit | Not owned | STOP — report ownership violation |\n| Write\u002FEdit | Overlapping | STOP — report conflict to orchestrator |\n\n## Integration\n\n- **Orchestrator** creates the task queue when decomposing parallel work\n- **Parallel agents** claim and complete tasks\n- **Orchestrator** monitors queue for completion and triggers integration test\n- Queue is ephemeral (.meowkit\u002Fstate\u002F) — recreated per parallel execution\n\n## Team Coordination\n\nTeam-mode coordination rules (file ownership, commit discipline, completion messages) live\nin `.cursor\u002Fskills\u002Fteam-config\u002Freferences\u002Fteam-coordination.md`, loaded by `mk:team-config`\non team activation.\n\n## Gotchas\n\n- **Race condition on claims:** Two agents reading `task-queue.json` simultaneously may both claim the same task. Mitigation: orchestrator is the sole claim-serializer — agents REQUEST claims through orchestrator, never self-claim directly\n- **Ownership globs must not overlap:** `src\u002Fapi\u002F*` and `src\u002Fapi\u002Fauth\u002F*` overlap — the more specific glob must be in the SAME task, not split across agents\n- **Queue file doesn't auto-create:** Orchestrator must create `.meowkit\u002Fstate\u002Ftask-queue.json` before dispatching parallel agents. If missing, agents should STOP and report, not create it themselves\n- **Completed tasks are not removed:** Tasks stay in queue with `status=completed` for audit trail. Queue is cleaned up only when the parallel execution phase ends",{"name":5,"description":7},"main","c2c69c674e8c62fe9634bfb360b5f9f14c70e1a5","packages\u002Fmewkit\u002Fsrc\u002Fmigrate\u002Fmodules\u002Fcursor\u002Froot\u002F.cursor\u002Fskills\u002Fmk-task-queue",3,"https:\u002F\u002Fgithub.com\u002Fngocsangyem\u002FMeowKit","https:\u002F\u002Fdocs.meowkit.dev\u002F","https:\u002F\u002Fgithub.com\u002Fngocsangyem","Keep moving forward","2026-11-12 20:22:02",{"source":8,"skillName":5,"commands":52,"prompt":62,"zipAvailable":63},[53,56,59],{"tool":54,"command":55},"npx","npx skills add ngocsangyem\u002FMeowKit --skill mk-task-queue",{"tool":57,"command":58},"bunx","bunx skills add ngocsangyem\u002FMeowKit --skill mk-task-queue",{"tool":60,"command":61},"pnpm","pnpm dlx skills add ngocsangyem\u002FMeowKit --skill mk-task-queue","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fngocsangyem\u002FMeowKit\u002Fblob\u002Fmain\u002Fpackages\u002Fmewkit\u002Fsrc\u002Fmigrate\u002Fmodules\u002Fcursor\u002Froot\u002F.cursor\u002Fskills\u002Fmk-task-queue\u002FSKILL.md",true,[],[66,84,102,108,120,142],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":37},"01M6J4NFDY0KY3XXJ6E5WBASAF","mk-sequential-thinking","Structured step-by-step reasoning before acting, to avoid guessing. For complex debugging, multi-step analysis, hypothesis checks. NOT for being stuck on approach (mk:problem-solving).","https:\u002F\u002Fgithub.com\u002Fngocsangyem\u002FMeowKit\u002Fblob\u002Fmain\u002Fpackages\u002Fmewkit\u002Fsrc\u002Fmigrate\u002Fmodules\u002Fcodex\u002Froot\u002F.agents\u002Fskills\u002Fmk-sequential-thinking\u002FSKILL.md",[],[73,74,75,76,77,78,79,80,81,34,82,83],"mk sequential thinking","sequential thinking","thinking","structured","problem","problem-solving","analysis","hypothesis","reasoning","debugging","multi",{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":95,"publishedAt":37},"01M6J5D3G7C0V3BZ97Y61WB172","mk:fixture-valid","A valid fixture used to verify the skill structure validator.","https:\u002F\u002Fgithub.com\u002Fngocsangyem\u002FMeowKit\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskill-creator\u002Fvalid\u002FSKILL.md",[90],{"categoryNo":91,"categoryName":92,"taxonomyType":93,"taxonomyTypeDesc":94},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[96,97,98,99,100,101],"mk:fixture valid","fixture","valid","verify","structure","validator",{"skillNo":103,"name":104,"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":105,"categories":106,"keywords":107,"publishedAt":37},"01M6J5CZRVSN8T4BZM0Y42CXJY","invalid","https:\u002F\u002Fgithub.com\u002Fngocsangyem\u002FMeowKit\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskill-creator\u002Finvalid\u002FSKILL.md",[],[104],{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":115,"publishedAt":37},"01M6J5CVN0N8KP9JFAWCV2PC2T","mk:sample-skill","Sample skill for fixture purposes — small enough to land below noise floor.","https:\u002F\u002Fgithub.com\u002Fngocsangyem\u002FMeowKit\u002Fblob\u002Fmain\u002Fpackages\u002Fmewkit\u002Ftests\u002Ffixtures\u002Fcontext-audit\u002F.claude\u002Fskills\u002Fsample-skill\u002FSKILL.md",[114],{"categoryNo":91,"categoryName":92,"taxonomyType":93,"taxonomyTypeDesc":94},[116,117,118,119,97,34],"mk:sample skill","sample","sample skill","land",{"skillNo":121,"name":122,"nameZh":6,"description":123,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":124,"categories":125,"keywords":127,"publishedAt":37},"01M6J5CP99X9S0B7XCSBX6H5P2","mk-worktree","Manages git worktrees for parallel agent isolation: creates parallel\u002F{name}-{timestamp} branches, merges with conflict detection. NOT for user feature branches (use git worktree directly).","https:\u002F\u002Fgithub.com\u002Fngocsangyem\u002FMeowKit\u002Fblob\u002Fmain\u002Fpackages\u002Fmewkit\u002Fsrc\u002Fmigrate\u002Fmodules\u002Fcursor\u002Froot\u002F.cursor\u002Fskills\u002Fmk-worktree\u002FSKILL.md",[126],{"categoryNo":91,"categoryName":92,"taxonomyType":93,"taxonomyTypeDesc":94},[128,129,130,131,31,132,133,134,135,136,137,28,34,35,138,139,140,141],"mk worktree","worktree","user","git worktrees","worktrees","branches","conflict","feature","isolation","name","timestamp","git","detection","git worktree",{"skillNo":143,"name":144,"nameZh":6,"description":145,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":146,"categories":147,"keywords":149,"publishedAt":37},"01M6J5CJT8ZGXH9YYJ7GV3R2B4","mk-workflow-orchestrator","Auto-invoked 7-phase workflow for complex-feature intent; fasttrack mode for pre-approved specs. NOT for explicit single tasks (mk:cook), green-field builds (mk:autobuild), or simple fixes (mk:fix).","https:\u002F\u002Fgithub.com\u002Fngocsangyem\u002FMeowKit\u002Fblob\u002Fmain\u002Fpackages\u002Fmewkit\u002Fsrc\u002Fmigrate\u002Fmodules\u002Fcursor\u002Froot\u002F.cursor\u002Fskills\u002Fmk-workflow-orchestrator\u002FSKILL.md",[148],{"categoryNo":91,"categoryName":92,"taxonomyType":93,"taxonomyTypeDesc":94},[150,151,152,153,154,29,155,156,157,158,159,135,160,161,34,162,163,164,165,166,167,168],"mk workflow orchestrator","workflow orchestrator","orchestrator","workflow","green-field","fix","auto","simple","intent","green","autobuild","mode","fixes","mk:autobuild","mk:cook","mk:fix","fasttrack","complex-feature","phase"]