Skip to content
cccskills
FreePublished on GitHub

iterate-structure-outline

Revise an existing implementation outline using feedback, supporting documents, and codebase findings. Reorganize phases, adjust scope, incorporate answered questions, and define checks so each phase can be verified independently.

OriginalShow the original description

Only use when the user explicitly invokes this skill by name.

Run score Not tested

See how to install

Good for

  • Reorganizing implementation phases after feedback
  • Updating scope and excluded work
  • Incorporating answers to open questions
  • Defining checks for each implementation phase

Files included (3)

  • SKILL.md6.8 KB
  • references/structure_outline_final_answer_in_worktree.md992 B
  • references/structure_outline_final_answer.md927 B

SKILL.md (original)

Review the instructions the agent will receive before you install.

Iterate Structure Outline

You are iterating on an existing structure outline document based on user feedback.

Input

  • If only a directory is provided, or a directory is not provided, check the task's artifact directory from your prompt: ls -La .humanlayer/tasks/<task slug>. Do NOT use grep or glob or ls or ls -l, as the directory may be a symlink.
  • Optionally, a ticket file path containing comments with feedback

Initial Check

If the user calls this with no instructions or feedback, ask them for their feedback:

I'm ready to iterate on the structure outline. What feedback or changes would you like me to incorporate? For example:
- Phase reorganization
- Scope changes (add/remove items)
- Answers to open questions
- Additional context or requirements

Then wait for the user's feedback before proceeding.

Steps

  1. Read all input documents FULLY:

    • Use Read tool WITHOUT limit/offset to read the structure outline and all prior artifacts (ticket.md or task.md, research, design discussion, PRD/TDD if present)
    • Understand the current state of the codebase from research findings
    • Review all design decisions and patterns to follow
  2. Check for related task content:

    • If a path in .humanlayer/tasks/TASKNAME is mentioned, use ls -La .humanlayer/tasks/TASKNAME. Do NOT use ls or ls -l as the directory may be a symlink.
    • Read all relevant files in the task directory, including the structure outline, design discussion, research documents, and ticket
    • Read relevant files mentioned in the task files
  3. If the user gives any input:

    • DO NOT just accept the correction blindly
    • Spawn research tasks to verify the information if needed
    • Read the specific files/directories they mention
    • Only proceed once you've verified the facts yourself
  4. Spawn sub-agents for follow-up research (if needed):

    For deeper investigation:

    • codebase-locator: Find additional files if needed
    • codebase-analyzer: Deep-dive on specific implementations
    • codebase-pattern-finder: Find more examples of patterns
    • web-search-researcher: Research external best practices
    • You may see a humanlayer library researcher tool. If you do, you should use this to answer any research questions about dependencies and libraries. If the tool is not present, do not mention it.

    Do not run agents in the background - FOREGROUND AGENTS ONLY.

  5. Process the feedback:

    • If user requested phase changes: Reorganize phases as requested
    • If user requested scope changes: Update "What we're not doing" and phase contents
    • If user answered open questions: Remove from open questions and incorporate into plan
    • Keep the same YAML frontmatter and format

Each phase should ideally be a thin vertical slice that touches all / as many layers as possible for the desired end state. Avoid horizontal phases like 'add all types', 'add API endpoints', 'implement UI'.

Try to find ways to structure the outline so that each phase cuts across multiple layers, services, or module boundaries at least > 1 if at all possible. Each phase should be independently verifiable based on typechecks, tests, build steps, and any other in-repo verification. Ensure you understand codebase patterns for testing and verification, and don't suggest manual testing for a step that could be automated w/ a script, an existing skill, etc.

A horizontal breakdown looks like this:

  1. Build the schema
  2. Build the API
  3. Build the UI
  4. Add tests

That creates handoff problems and partially finished work.

A vertical slice cuts through the stack:

  1. User can create the simplest version of the thing end-to-end
  2. User can edit one field end-to-end
  3. User can see the first validation error end-to-end

Each issue should include schema, API, UI, and tests if the slice needs them.

These are intended to be illustrative. Not all work lends itself to this type of structure specifically, but you should try to cross module boundaries where able to surface surprises early. Do not structure a phase N such that Phase N+1 must be completed before Phase N can be verified.

  1. Update document (if changes needed):

    • Update the document at the same docPath
    • Reorganize phases as needed
    • Update file changes within phases
    • Update validation approaches
    • Remove answered questions from "Open Questions"
  2. Update the user

    • Check whether you are already in a worktree: Bash(git rev-parse --git-dir)
    • Read the appropriate final output template:
<condition if="git-dir output contains '.git/worktrees/'">

Read({SKILLBASE}/references/structure_outline_final_answer_in_worktree.md)

<else>

Read({SKILLBASE}/references/structure_outline_final_answer.md)

</condition>
  • Never suggest setting up a worktree when you are already in one.
  • Respond following the template exactly. Do not include a summary or other information. Include cloud permalinks if available.

Document Precedence

When documents conflict, the most recent document wins: structure outline > TDD > PRD > design discussion > research > ticket

<guidance> ## Cloud Permalinks

When you write or edit documents in .humanlayer/tasks/, a cloud permalink is automatically provided in the hook response.

  • The permalink appears as additionalContext after Write/Edit/MultiEdit/Read operations
  • Use this permalink in your final output for easy navigation
  • Example format: http(s)://{DOMAIN}/artifacts/{artifactId}

Markdown Formatting

When writing markdown files that contain code blocks showing other markdown (like README examples or SKILL.md templates), use 4 backticks (````) for the outer fence so inner 3-backtick code blocks don't prematurely close it:

# Example README
## Installation
```bash
npm install example
```

Phase changes should be concise but clear

The goal of this document is to be concise and human readable. Be tasteful and thoughtful about how and where you include code snippets, and prefer highlighting signature changes rather than entire code blocks, unless the user explicitly asks for them. The structure outline is our "c header files", the plan will include the function definitions.

Phase Validation Design

Not every phase requires manual validation, don't put steps for manual validation just to have them.

There's a good chance that if a phase cannot be manually checked, its either too small or not vertical enough. The goal of manual validation is to avoid getting to the end of a 1000+ line code change and then having to figure out which part went wrong.

Automated testing is always better than manual testing - be thoughtful based on your knowledge of the codebase and testing patterns, and be clear about which tests are manual versus automated. </guidance>

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

agent-browser

FreeSummary

Automate website navigation, form entry, and clicks through a browser command line tool. Extract page text, capture screenshots, and compare page states to check interactions or test web app behavior across screen sizes.

  • Automate form entry and button clicks
  • Extract text from web pages
  • Save page screenshots and PDFs
humanlayer/humanlayer12.2KUpdated Oct 23, 2026

asd-ste100

FreeSummary

Rewrite dense or ambiguous English into short, direct sentences using principles from ASD-STE100, a standard for clear technical English. It preserves facts and conditions, identifies writing issues, and shows the original and revised text side by side.

  • Clarifying English instructions for another agent
  • Simplifying English tool descriptions and error messages
  • Making English easier for non-native readers
humanlayer/humanlayer12.2KUpdated Oct 23, 2026

Inspect GitHub pull requests, read review conversations, and investigate failed automated checks with dedicated scripts. Get consolidated status reports, unresolved discussion threads, and failing job or step logs, with full logs saved for further inspection.

  • Checking pull request status in one report
  • Reading unresolved review conversations
  • Investigating failed CI jobs and steps
humanlayer/humanlayer12.2KUpdated Oct 23, 2026

bump-version

FreeSummary

Update release base versions for supported packages, keep matching version fields in sync, and verify generated versions. The workflow covers committing and pushing the changes, with guidance for release steps after merging.

  • Prepare a package version update for release
  • Synchronize version fields across related files
  • Verify generated versions before pushing
humanlayer/humanlayer12.2KUpdated Oct 23, 2026

calldiff

FreeSummary

Compare function call structures across Git commits, branches, or working files to support code review. Display call trees and trace paths from an entry function to a target function, with support for 22 languages.

  • Compare function calls before and after a change
  • Review call structure changes between branches
  • Trace paths from an entry function to a target
humanlayer/humanlayer12.2KUpdated Oct 23, 2026

Automate browser tasks from the terminal using the chrome-devtools-mcp CLI. Inspect page elements, click and fill forms, navigate tabs, capture screenshots, and investigate network requests, console messages, performance, and memory through shell commands.

  • Automating form input and page navigation
  • Capturing page or element screenshots
  • Investigating network requests and console errors
humanlayer/humanlayer12.2KUpdated Oct 23, 2026

See all skills by humanlayer

Report a problem with this skill