investigative-issue-workdown

A robust workflow for handling a batch of related investigative tasks that require file system research, documentation, and version control.

5 stars

Best use case

investigative-issue-workdown is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

A robust workflow for handling a batch of related investigative tasks that require file system research, documentation, and version control.

Teams using investigative-issue-workdown should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/investigative-issue-workdown/SKILL.md --create-dirs "https://raw.githubusercontent.com/vamseeachanta/workspace-hub/main/.agents/skills/development/investigative-issue-workdown/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/investigative-issue-workdown/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How investigative-issue-workdown Compares

Feature / Agentinvestigative-issue-workdownStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

A robust workflow for handling a batch of related investigative tasks that require file system research, documentation, and version control.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Skill: Investigative Issue Workdown

## Description

A robust workflow for handling a batch of related investigative tasks, such as those assigned by a cron job or a project board. This pattern is ideal for tasks that require researching the file system, generating a report or artifact, committing the result to version control, and closing the source issue.

## When to use this skill

Trigger this skill when you are assigned 2-5 related tasks in a single prompt, where each task follows a similar "investigate -> document -> commit -> close" lifecycle. It is particularly useful when the investigation involves searching across large or numerous directories.

## Workflow Steps

1.  **Initial Planning:** List the assigned tasks.
2.  **Sequential Execution:** Address each task one by one to ensure reliability and clear separation of work.
3.  **Investigation:** Use file system tools like `search_files` to gather the necessary information for the current task. If a required path is inaccessible, note this finding and proceed.
4.  **Documentation:** Create the required artifact (typically a Markdown report) using `write_file` and populate it with your findings.
5.  **Version Control:** Use `terminal` to `git add` and `git commit` the newly created file. Use a clear commit message that references the task or issue number.
6.  **Task Closure:** Use `terminal` to interact with the issue tracker CLI (e.g., `gh issue close 1234`) to close the completed task.
7.  **Iterate:** Repeat steps 3-6 for the next task until all are complete.
8.  **Final Summary:** Conclude with a summary of the work performed, listing each completed task and the artifact created.

## Pitfalls & Best Practices

- **Avoid `execute_code` for Batch File Searches:** Do **not** use a single `execute_code` block to run multiple `search_files` calls in a loop, especially on large or complex directory structures. This approach is prone to intermittent `JSONDecodeError` failures when tool outputs are large or contain unexpected characters, making the script unreliable.
- **Prefer Sequential Tool Calls:** The most robust method for file system investigation is to use direct, sequential `search_files` tool calls from the main agent loop for each query. While this may appear less concurrent, it is far more reliable and provides clearer, more debuggable outputs.
- **Handle Inaccessible Paths Gracefully:** If a file path or network mount is unavailable during the investigation, do not halt the entire batch. Document the inaccessibility in your report for that specific task and continue with the remaining tasks.

Related Skills

plan-gated-issue-execution-wave

5
from vamseeachanta/workspace-hub

Execute a multi-issue architecture/planning wave in a plan-gated repo, then safely transition approved issues into implementation with file-based Codex prompts, local approval markers, subprocess monitoring, and cleanup handling for sandbox/hook edge cases.

staged-issue-tree-creation-with-deduplication

5
from vamseeachanta/workspace-hub

Pattern for creating hierarchical GitHub issue trees from phased project plans while checking for duplicate/overlapping issues

plan-gated-issue-validation-workflow

5
from vamseeachanta/workspace-hub

Systematic validation pattern for plan-approved GitHub issues with pre-existing deliverables

plan-gated-issue-implementation

5
from vamseeachanta/workspace-hub

Workflow for executing pre-approved GitHub issues with mandatory validation checkpoints

github-issue-structure-for-personal-finance-tracking

5
from vamseeachanta/workspace-hub

Pattern for organizing financial analysis work across multiple repos (data/config vs. logic separation)

plan-draft-review-artifact-truthfulness-and-issue-body-alignment

5
from vamseeachanta/workspace-hub

Keep plan drafts truthful during adversarial review loops by verifying real provider artifact state on disk and aligning the GitHub issue body to the bounded plan tranche before claiming approval-readiness.

parallel-llm-wiki-gap-to-issues

5
from vamseeachanta/workspace-hub

Use parallel subagents to mine remaining LLM-wiki/document-intelligence gaps, de-duplicate against existing GitHub issues, then create only the strongest bounded follow-on issues.

llm-wiki-ecosystem-gap-to-issues

5
from vamseeachanta/workspace-hub

Review the workspace-hub LLM-wiki/document-intelligence ecosystem, identify high-leverage gaps, and create grounded GitHub feature issues without duplicating existing work.

interactive-issue-execution-worktree-guardrails

5
from vamseeachanta/workspace-hub

Execute approved GitHub issues in isolated worktrees with interactive Codex/Codex runs, while containing agent drift and salvaging progress when provider/runtime problems occur.

workspace-hub-batch-issue-execution

5
from vamseeachanta/workspace-hub

Deprecated alias for gh-work-execution.

single-terminal-gh-issue-prompts

5
from vamseeachanta/workspace-hub

Generate live issue-specific Codex prompts for a single terminal, with repo-aware path contracts and plan-gate safety checks.

parallel-approved-issue-worktrees

5
from vamseeachanta/workspace-hub

Launch approved GitHub issue implementation in parallel using isolated git worktrees, committed execution-pack prompts, local plan-approved markers, and direct background Codex runs when delegate_task workers are unreliable for real repo writes.