{"id":"887d920c-62c0-4133-aea9-ae001424a6de","shortId":"Snt3Gg","kind":"skill","title":"task-analyzer","tagline":"Performs metacognitive task analysis and skill selection. Use when determining task complexity, selecting appropriate skills, or estimating work scale.","description":"# Task Analyzer\n\nProvides metacognitive task analysis and skill selection guidance.\n\n## Skills Index\n\nSee **[skills-index.yaml](references/skills-index.yaml)** for available skills metadata.\n\n## Task Analysis Process\n\n### 1. Understand Task Essence\n\nIdentify the fundamental purpose beyond surface-level work:\n\n| Surface Work | Fundamental Purpose |\n|--------------|---------------------|\n| \"Fix this bug\" | Problem solving, root cause analysis |\n| \"Implement this feature\" | Feature addition, value delivery |\n| \"Refactor this code\" | Quality improvement, maintainability |\n| \"Update this file\" | Change management, consistency |\n\n**Action**: Map the user request to one row in the Surface Work → Fundamental Purpose table above. If no row matches, state the fundamental purpose explicitly before proceeding.\n\n### 2. Estimate Task Scale\n\n| Scale | File Count | Indicators |\n|-------|------------|------------|\n| Small | 1-2 | Single function/component change |\n| Medium | 3-5 | Multiple related components |\n| Large | 6+ | Cross-cutting concerns, architecture impact |\n\n**Scale affects skill priority:**\n- Scale >= Large → include documentation-criteria and implementation-approach in selectedSkills with priority high\n- Scale = Small → limit selectedSkills to task-type essential skills only (max 3)\n\n### 3. Identify Task Type\n\n| Type | Characteristics | Key Skills |\n|------|-----------------|------------|\n| Implementation | New code, features | coding-principles, testing-principles |\n| Fix | Bug resolution | ai-development-guide, testing-principles |\n| Refactoring | Structure improvement | coding-principles, ai-development-guide |\n| Design | Architecture decisions | documentation-criteria, implementation-approach |\n| Quality | Testing, review | testing-principles, integration-e2e-testing |\n\n### 4. Tag-Based Skill Matching\n\nExtract relevant tags from task description and match against skills-index.yaml:\n\n```yaml\nTask: \"Implement user authentication with tests\"\nExtracted tags: [implementation, testing, security]\nMatched skills:\n  - coding-principles (implementation, security)\n  - testing-principles (testing)\n  - ai-development-guide (implementation)\n```\n\n### 5. Implicit Relationships\n\nConsider hidden dependencies:\n\n| Task Involves | Also Include |\n|---------------|--------------|\n| Error handling | debugging, testing |\n| New features | design, implementation, documentation |\n| Performance | profiling, optimization, testing |\n| Frontend | typescript-rules, test-implement |\n| API/Integration | integration-e2e-testing |\n\n## Output Format\n\nReturn structured analysis with skill metadata from skills-index.yaml:\n\n```yaml\ntaskAnalysis:\n  essence: <string>  # Fundamental purpose identified\n  type: <implementation|fix|refactoring|design|quality>\n  scale: <small|medium|large>\n  estimatedFiles: <number>\n  tags: [<string>, ...]  # Extracted from task description\n\nselectedSkills:\n  - skill: <skill-name>  # From skills-index.yaml\n    priority: <high|medium|low>\n    reason: <string>  # Why this skill was selected\n    # Pass through metadata from skills-index.yaml\n    tags: [...]\n    typical-use: <string>\n    size: <small|medium|large>\n    sections: [...]  # All sections from yaml, unfiltered\n```\n\n**Note**: Section selection (choosing which sections are relevant) is done after reading the actual SKILL.md files.\n\n## Skill Selection Priority\n\n1. **Essential** - Directly related to task type\n2. **Quality** - Testing and quality assurance\n3. **Process** - Workflow and documentation\n4. **Supplementary** - Reference and best practices\n\n## Metacognitive Question Design\n\nGenerate 3-5 questions according to task nature:\n\n| Task Type | Question Focus |\n|-----------|----------------|\n| Implementation | Design validity, edge cases, performance |\n| Fix | Root cause (5 Whys), impact scope, regression testing |\n| Refactoring | Current problems, target state, phased plan |\n| Design | Requirement clarity, future extensibility, trade-offs |\n\n## Warning Patterns\n\nDetect and flag these patterns:\n\n| Pattern | Warning | Mitigation |\n|---------|---------|------------|\n| Large change detected | Pair with implementation-approach | Split into phases per strategy |\n| Implementation task detected | Pair with testing-principles | Apply TDD from start |\n| Error fix requested | Pair with ai-development-guide | Apply 5 Whys before fixing |\n| Multi-file task without plan | Pair with documentation-criteria | Create work plan first |","tags":["task","analyzer","claude","code","workflows","shinpr","agent-skills","agentic-ai","ai-agents","automation","claude-code","claude-code-plugin"],"capabilities":["skill","source-shinpr","skill-task-analyzer","topic-agent-skills","topic-agentic-ai","topic-ai-agents","topic-automation","topic-claude-code","topic-claude-code-plugin","topic-code-quality","topic-developer-tools","topic-development-workflow","topic-llm-orchestration","topic-productivity","topic-prompt-engineering"],"categories":["claude-code-workflows"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/shinpr/claude-code-workflows/task-analyzer","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add shinpr/claude-code-workflows","source_repo":"https://github.com/shinpr/claude-code-workflows","install_from":"skills.sh"}},"qualityScore":"0.613","qualityRationale":"deterministic score 0.61 from registry signals: · indexed on github topic:agent-skills · 327 github stars · SKILL.md body (4,444 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-05-02T18:53:53.444Z","embedding":null,"createdAt":"2026-04-18T22:03:19.188Z","updatedAt":"2026-05-02T18:53:53.444Z","lastSeenAt":"2026-05-02T18:53:53.444Z","tsv":"'-2':126 '-5':132,425 '1':45,125,396 '2':116,403 '3':131,175,176,409,424 '4':233,414 '5':277,444,510 '6':137 'accord':427 'action':89 'actual':390 'addit':74 'affect':145 'ai':198,211,273,506 'ai-development-guid':197,210,272,505 'also':285 'analysi':7,28,43,69,316 'analyz':3,24 'api/integration':307 'appli':496,509 'approach':157,222,482 'appropri':17 'architectur':142,215 'assur':408 'authent':253 'avail':39 'base':236 'best':418 'beyond':53 'bug':64,195 'case':439 'caus':68,443 'chang':86,129,476 'characterist':181 'choos':380 'clariti':459 'code':79,186,189,208,264 'coding-principl':188,207,263 'complex':15 'compon':135 'concern':141 'consid':280 'consist':88 'count':122 'creat':525 'criteria':153,219,524 'cross':139 'cross-cut':138 'current':451 'cut':140 'debug':289 'decis':216 'deliveri':76 'depend':282 'descript':244,343 'design':214,293,332,422,436,457 'detect':467,477,490 'determin':13 'develop':199,212,274,507 'direct':398 'document':152,218,295,413,523 'documentation-criteria':151,217,522 'done':386 'e2e':231,310 'edg':438 'error':287,500 'essenc':48,324 'essenti':171,397 'estim':20,117 'estimatedfil':338 'explicit':113 'extens':461 'extract':239,256,340 'featur':72,73,187,292 'file':85,121,392,516 'first':528 'fix':62,194,330,441,501,513 'flag':469 'focus':434 'format':313 'frontend':300 'function/component':128 'fundament':51,60,101,111,325 'futur':460 'generat':423 'guid':200,213,275,508 'guidanc':32 'handl':288 'hidden':281 'high':162,349 'identifi':49,177,327 'impact':143,446 'implement':70,156,184,221,251,258,266,276,294,306,329,435,481,488 'implementation-approach':155,220,480 'implicit':278 'improv':81,206 'includ':150,286 'index':34 'indic':123 'integr':230,309 'integration-e2e-testing':229,308 'involv':284 'key':182 'larg':136,149,337,370,475 'level':56 'limit':165 'low':351 'maintain':82 'manag':87 'map':90 'match':108,238,246,261 'max':174 'medium':130,336,350,369 'metacognit':5,26,420 'metadata':41,319,360 'mitig':474 'multi':515 'multi-fil':514 'multipl':133 'natur':430 'new':185,291 'note':377 'off':464 'one':95 'optim':298 'output':312 'pair':478,491,503,520 'pass':358 'pattern':466,471,472 'per':486 'perform':4,296,440 'phase':455,485 'plan':456,519,527 'practic':419 'principl':190,193,203,209,228,265,270,495 'prioriti':147,161,348,395 'problem':65,452 'proceed':115 'process':44,410 'profil':297 'provid':25 'purpos':52,61,102,112,326 'qualiti':80,223,333,404,407 'question':421,426,433 'read':388 'reason':352 'refactor':77,204,331,450 'refer':416 'references/skills-index.yaml':37 'regress':448 'relat':134,399 'relationship':279 'relev':240,384 'request':93,502 'requir':458 'resolut':196 'return':314 'review':225 'root':67,442 'row':96,107 'rule':303 'scale':22,119,120,144,148,163,334 'scope':447 'section':371,373,378,382 'secur':260,267 'see':35 'select':10,16,31,357,379,394 'selectedskil':159,166,344 'singl':127 'size':367 'skill':9,18,30,33,40,146,172,183,237,262,318,345,355,393 'skill-task-analyzer' 'skill.md':391 'skills-index.yaml':36,248,321,347,362 'small':124,164,335,368 'solv':66 'source-shinpr' 'split':483 'start':499 'state':109,454 'strategi':487 'structur':205,315 'supplementari':415 'surfac':55,58,99 'surface-level':54 'tabl':103 'tag':235,241,257,339,363 'tag-bas':234 'target':453 'task':2,6,14,23,27,42,47,118,169,178,243,250,283,342,401,429,431,489,517 'task-analyz':1 'task-typ':168 'taskanalysi':323 'tdd':497 'test':192,202,224,227,232,255,259,269,271,290,299,305,311,405,449,494 'test-impl':304 'testing-principl':191,201,226,268,493 'topic-agent-skills' 'topic-agentic-ai' 'topic-ai-agents' 'topic-automation' 'topic-claude-code' 'topic-claude-code-plugin' 'topic-code-quality' 'topic-developer-tools' 'topic-development-workflow' 'topic-llm-orchestration' 'topic-productivity' 'topic-prompt-engineering' 'trade':463 'trade-off':462 'type':170,179,180,328,402,432 'typescript':302 'typescript-rul':301 'typic':365 'typical-us':364 'understand':46 'unfilt':376 'updat':83 'use':11,366 'user':92,252 'valid':437 'valu':75 'warn':465,473 'whys':445,511 'without':518 'work':21,57,59,100,526 'workflow':411 'yaml':249,322,375","prices":[{"id":"3f4f4f7c-fcde-4838-bf2b-f6dd277e2833","listingId":"887d920c-62c0-4133-aea9-ae001424a6de","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"shinpr","category":"claude-code-workflows","install_from":"skills.sh"},"createdAt":"2026-04-18T22:03:19.188Z"}],"sources":[{"listingId":"887d920c-62c0-4133-aea9-ae001424a6de","source":"github","sourceId":"shinpr/claude-code-workflows/task-analyzer","sourceUrl":"https://github.com/shinpr/claude-code-workflows/tree/main/skills/task-analyzer","isPrimary":false,"firstSeenAt":"2026-04-18T22:03:19.188Z","lastSeenAt":"2026-05-02T18:53:53.444Z"}],"details":{"listingId":"887d920c-62c0-4133-aea9-ae001424a6de","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"shinpr","slug":"task-analyzer","github":{"repo":"shinpr/claude-code-workflows","stars":327,"topics":["agent-skills","agentic-ai","ai-agents","automation","claude-code","claude-code-plugin","code-quality","developer-tools","development-workflow","llm-orchestration","productivity","prompt-engineering","skills"],"license":"mit","html_url":"https://github.com/shinpr/claude-code-workflows","pushed_at":"2026-05-02T15:39:17Z","description":"Production-ready development workflows for Claude Code, powered by specialized AI agents.","skill_md_sha":"82c3e14b642ab13c1eca1400356f00d2db53df44","skill_md_path":"skills/task-analyzer/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/shinpr/claude-code-workflows/tree/main/skills/task-analyzer"},"layout":"multi","source":"github","category":"claude-code-workflows","frontmatter":{"name":"task-analyzer","description":"Performs metacognitive task analysis and skill selection. Use when determining task complexity, selecting appropriate skills, or estimating work scale."},"skills_sh_url":"https://skills.sh/shinpr/claude-code-workflows/task-analyzer"},"updatedAt":"2026-05-02T18:53:53.444Z"}}