analyze-task

Generate requirements analysis documents from task.md files.

84|5|Updated Mar 6, 2026
One-click install
npx skills add https://github.com/fitlab-ai/agent-infra --skill analyze-task
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: analyze-task
Source: https://github.com/fitlab-ai/agent-infra/tree/main/.agents/skills/analyze-task
Command: npx skills add https://github.com/fitlab-ai/agent-infra --skill analyze-task

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

任务分析与需求文档输出的痛点在于将任务上下文转化为明确的需求、范围和约束,确保后续工作有据可依。 它仅负责产出需求分析文档(analysis.md 或 analysis-r{N}.md),不修改代码或实现。 通过严格遵循 task.md 的信息来生成可追溯的分析产物,并在执行后立即更新任务状态。

Core Features & Use Cases

  • 同步读取任务上下文,输出清晰的需求分析报告,便于进入实现阶段。
  • 支持多轮分析:Round 1 产出 analysis.md,后续轮次产出 analysis-r{N}.md,确保变更可追溯。
  • 严格遵循任务来源、上下文和约束,提供可审计的产物和变更记录。

Quick Start

Feed the task.md into the workspace and run the analyze-task skill to generate analysis.md (Round 1).

Frequently Asked Questions about analyze-task

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a requirements analysis document from a task.md file?

Requirements analysis examines a defined task.md file to produce a formal analysis.md document. It operates in rounds, generating Round 1 analysis for new tasks and subsequent analysis-r{N}.md files for later iterations.

What is the best way to handle multiple rounds of task analysis and requirement changes?

Handling multiple rounds of task analysis involves generating analysis-r{N}.md files for subsequent iterations. This ensures requirement changes remain auditable and traceable back to the original task.md constraints.

Do I need a specific project workflow structure to run task analysis?

Task analysis requires a specific project workflow structure. It enforces a precondition checking for the presence of task.md within the .agents/workspace/active/{task-id}/ directory before generating the requirements analysis artifact.

Does the requirements analysis tool modify source code or implementation files?

The requirements analysis tool does not modify source code or implementation files. It strictly outputs the required analysis document and updates the task.md status to indicate completion of the requirement analysis phase.

Why does my task requirements analysis fail to generate an output document?

Task requirements analysis fails to generate an output document when preconditions are unmet. The implementation strictly enforces the presence of a valid task.md file in the active workspace directory before producing analysis.md.