跳到正文
cccskills
免费在 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.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

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

实测评分 未实测

查看安装方法

适用场景

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

包含的文件(3)

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

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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>

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

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/humanlayer1.2万2026年10月24日 更新

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/humanlayer1.2万2026年10月24日 更新

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/humanlayer1.2万2026年10月24日 更新

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/humanlayer1.2万2026年10月24日 更新

calldiff

免费

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/humanlayer1.2万2026年10月24日 更新

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/humanlayer1.2万2026年10月24日 更新

查看 humanlayer 的全部技能

报告此技能的问题