Technical analysis workflow

From makifbaysal/tasktrooper · View interactive version

Technical analysis workflow is an AI agent skill from the GitHub repository makifbaysal/tasktrooper. Use when you start an analiz task - explore every affected repository and resolve unknowns before writing the report

How to use this skill

Skill file

Technical Analysis Workflow

Overview

Turn an analiz task into a fully-formed technical understanding through investigation, not guessing. The analysis report you write later — one HTML document whose sections are the spec and the plan (analiz-html-report) — is only as good as this grounding.

Hard gate: Do NOT write the report, or any implementation task, until you have explored the actual repository and resolved the ambiguities below. This applies to EVERY analiz task regardless of perceived simplicity — "simple" requests are where unexamined assumptions cause the most wasted developer work.

The Process

1. Clone and explore EVERY relevant repository first

2. Understand the intent

3. Identify WHAT and WHERE

4. Propose approaches

5. Resolve unknowns

Output

This grounding feeds directly into the report: its context section (what exists, with real paths), then spec-authoring for the design section and implementation-plan-authoring for the plan section, all in the one document analiz-html-report describes. If you cannot yet name the files to touch and the interfaces between units, the analysis is not done.

Worked Example

Analiz: "Users can export a project's tasks to CSV." PM named the backend-api repo.

  1. Clone backend-api. get_project_brief + list_links first. codebase_search "task list endpoint" → find TaskHandler + TaskRepository.ListByProject already exist → the export reuses them.
  2. Cross-check: list_repositories shows a web repo (NOT named by the PM) linked to backend-api. run_terminal git clone --depth 1 <web's root_path> _analysis/web, then grep_code "api/v1/projects" path:"_analysis/web" → the board page will need a download button. Add web to the split. This is the PM-missed repo the cross-repo check surfaces — codebase_search/grep_code alone would not have found it, since they only cover the cloned, in-workspace backend-api.
  3. WHAT/WHERE: new TaskExporter service (backend) consuming ListByProject; new GET /projects/:id/tasks/export; a web button calling it.
  4. Approaches: (a) stream CSV from the handler, (b) build in a service and return bytes. Pick (b) — testable without HTTP. State it. Analog: the existing /projects/:id/report endpoint follows the same handler→service→repo shape (internal/adapter/http/report_handler.go:40) — bounded, not architectural.
  5. Unknowns resolved from code (column order = the DTO fields). No stakeholder question needed.

Now the files and interfaces are named → analysis is done, the report can be written.

Red Flags

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.