agentsclimarketplace

Task analyzer

Skill shinpr/codex-workflows/.agents/skills/task-analyzer

Performs task analysis and skill selection. Use when: determining task complexity, selecting appropriate skills, or estimating work scale.From its SKILL.md

Install
npx -y skills add shinpr/codex-workflows --skill task-analyzer

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

5.0 KB, ~1.1k tokens by cl100k_base, as published. Nobody here has run it

Task Analyzer

Provides task analysis and skill selection guidance.

Skills Index

See skills-index.yaml for available skills metadata.

Task Analysis Process

1. Understand Task Essence [MANDATORY]

Identify the fundamental purpose beyond surface-level work:

Surface WorkFundamental Purpose
"Fix this bug"Problem solving, root cause analysis
"Implement this feature"Feature addition, value delivery
"Refactor this code"Quality improvement, maintainability
"Update this file"Change management, consistency

Key Questions [MUST answer before proceeding]:

  • What problem are we really solving?
  • What is the expected outcome?
  • What could go wrong if we approach this superficially?

2. Estimate Task Scale

ScaleFile CountIndicators
Small1-2Single function/component change
Medium3-5Multiple related components
Large6+Cross-cutting concerns, architecture impact

Scale affects skill priority:

  • Larger scale: process/documentation skills more important
  • Smaller scale: implementation skills more focused

3. Identify Task Type

TypeCharacteristicsKey Skills
ImplementationNew code, featurescoding-rules, testing
FixBug resolutionai-development-guide, testing
RefactoringStructure improvementcoding-rules, ai-development-guide
DesignArchitecture decisionsdocumentation-criteria, implementation-approach
QualityTesting, reviewtesting, integration-e2e-testing

4. Tag-Based Skill Matching

Extract relevant tags from task description and match against skills-index.yaml:

Task: "Implement user authentication with tests"
Extracted tags: [implementation, testing, security]
Matched skills:
  - coding-rules (implementation, security)
  - testing (testing)
  - ai-development-guide (implementation)

5. Implicit Relationships

Consider hidden dependencies:

Task InvolvesAlso Include
Error handlingdebugging, testing
New featuresdesign, implementation, documentation
Performanceprofiling, optimization, testing
Frontendcoding-rules/references/typescript.md, testing/references/typescript.md
API/Integrationintegration-e2e-testing

Skill Selection Priority

  1. Essential - Directly related to task type
  2. Quality - Testing and quality assurance
  3. Process - Workflow and documentation
  4. Supplementary - Reference and best practices

Output Format

Return structured analysis with skill metadata from skills-index.yaml:

taskAnalysis:
  essence: <string>  # Fundamental purpose identified
  type: <implementation|fix|refactoring|design|quality>
  scale: <small|medium|large>
  estimatedFiles: <number>
  tags: [<string>, ...]  # Extracted from task description

selectedSkills:
  - skill: <skill-name>  # From skills-index.yaml
    priority: <high|medium|low>
    reason: <string>  # Why this skill was selected
    tags: [...]
    typical-use: <string>
    size: <small|medium|large>
    sections: [...]  # Full section list from yaml
    references: [...]  # Full reference file list from yaml when present

Note: Section and reference selection (choosing which sections or reference files are relevant) is done after reading the actual SKILL.md files. For output-format templates, read only the reference files matching the document type being created or reviewed.

Metacognitive Question Design

Generate 3-5 questions according to task nature:

Task TypeQuestion Focus
ImplementationDesign validity, edge cases, performance
FixRoot cause (5 Whys), impact scope, regression testing
RefactoringCurrent problems, target state, phased plan
DesignRequirement clarity, future extensibility, trade-offs

Warning Patterns [MANDATORY to detect]

Detect and flag these patterns IMMEDIATELY:

PatternWarningREQUIRED Action
Large change at onceHigh riskMUST split into phases
Implementation without testsQuality riskMUST follow TDD
Immediate fix on errorRoot cause missedMUST pause and analyze with 5 Whys
Coding without planScope creepMUST plan first

ENFORCEMENT: Detecting ANY warning pattern requires IMMEDIATE corrective action

Common Decision Points

DecisionCriteria
Need documentation?Check documentation-criteria decision matrix
Which implementation approach?Check implementation-approach phases
How to test?Check testing + integration-e2e-testing
Code quality concerns?Check ai-development-guide anti-patterns
Frontend specific?Check coding-rules/references/typescript.md

What ships with it: 2 files

8.2 KB alongside SKILL.md

agents/

references/

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.