Логотип Single Flow Task Execution

Single Flow Task Execution

Спільнота
skainguyen1412
single-flow-task-execution

Use when executing implementation plans, handling multiple independent tasks, or doing structured task-by-task development with review gates in Antigravity.

Огляд

Видавецьskainguyen1412
Репозиторійantigravity-superpowers
Назва навичкиsingle-flow-task-execution
Зірки
330
Форки
35
Файли в пакеті
3
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Файлів у комплекті: 3

    Скрипти, шаблони й довідкові матеріали, які модель може читати під час роботи. Файли доступні лише для читання й ніколи не виконуються.

  • Відкритий вихідний код

    Видавець на GitHub: skainguyen1412. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Single Flow Task Execution у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/skainguyen1412/antigravity-superpowers/tree/main/templates/.agent/skills/single-flow-task-execution
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/skainguyen1412/antigravity-superpowers.git /tmp/antigravity-superpowers
mkdir -p .claude/skills
cp -r /tmp/antigravity-superpowers/templates/.agent/skills/single-flow-task-execution .claude/skills/single-flow-task-execution
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Single Flow Task Execution в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Single Flow Task Execution, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка Single Flow Task Execution не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

Single-Flow Task Execution

Execute plans by working through one task at a time with two-stage review after each: spec compliance review first, then code quality review.

Core principle: One task at a time + two-stage review (spec then quality) = high quality, disciplined iteration.

Antigravity Execution Model

Antigravity does NOT support parallel coding subagents. All work happens in a single execution thread.

Rules:

  1. One active task only — never work on multiple tasks simultaneously.
  2. One execution thread only — no parallel dispatch.
  3. No parallel coding subagents — Antigravity does not have Task(...).
  4. Browser automation may use browser_subagent in isolated steps.
  5. Track progress by updating <project-root>/docs/plans/task.md at each state change (table-only tracker).
  6. Use task_boundary to clearly delineate each unit of work.

When to Use

dot
digraph when_to_use {
    "Have implementation plan?" [shape=diamond];
    "Tasks mostly independent?" [shape=diamond];
    "Multiple problems to solve?" [shape=diamond];
    "single-flow-task-execution" [shape=box];
    "executing-plans" [shape=box];
    "Manual execution or brainstorm first" [shape=box];

    "Have implementation plan?" -> "Tasks mostly independent?" [label="yes"];
    "Have implementation plan?" -> "Manual execution or brainstorm first" [label="no"];
    "Tasks mostly independent?" -> "single-flow-task-execution" [label="yes"];
    "Tasks mostly independent?" -> "Manual execution or brainstorm first" [label="no - tightly coupled"];
    "Multiple problems to solve?" -> "single-flow-task-execution" [label="yes - work through them sequentially"];
    "Multiple problems to solve?" -> "Manual execution or brainstorm first" [label="no - single task"];
}

Use when:

  • You have an implementation plan with multiple independent tasks
  • 2+ test files failing with different root causes (work through them one at a time)
  • Multiple subsystems broken independently
  • Each problem can be understood without context from others
  • Structured execution with quality gates is needed

Don't use when:

  • Failures are related (fix one might fix others) — investigate together first
  • Tasks are tightly coupled and need full system understanding
  • Single simple task that doesn't need review structure

vs. Executing Plans (worktree-based):

  • Same session (no context switch)
  • Fresh task_boundary per task (clean scope)
  • Two-stage review after each task: spec compliance first, then code quality
  • Faster iteration (no human-in-loop between tasks)

The Process

dot
digraph process {
    rankdir=TB;

    subgraph cluster_per_task {
        label="Per Task";
        "Execute implementation (./implementer-prompt.md)" [shape=box];
        "Questions about requirements?" [shape=diamond];
        "Answer questions, provide context" [shape=box];
        "Implement, test, commit, self-review" [shape=box];
        "Run spec compliance review (./spec-reviewer-prompt.md)" [shape=box];
        "Spec confirms code matches spec?" [shape=diamond];
        "Fix spec gaps" [shape=box];
        "Run code quality review (./code-quality-reviewer-prompt.md)" [shape=box];
        "Code quality approved?" [shape=diamond];
        "Fix quality issues" [shape=box];
        "Mark task complete in docs/plans/task.md" [shape=box];
    }

    "Read plan, extract all tasks with full text, note context" [shape=box];
    "More tasks remain?" [shape=diamond];
    "Run final code review for entire implementation" [shape=box];
    "Use finishing-a-development-branch skill" [shape=box style=filled fillcolor=lightgreen];

    "Read plan, extract all tasks with full text, note context" -> "Execute implementation (./implementer-prompt.md)";
    "Execute implementation (./implementer-prompt.md)" -> "Questions about requirements?";
    "Questions about requirements?" -> "Answer questions, provide context" [label="yes"];
    "Answer questions, provide context" -> "Execute implementation (./implementer-prompt.md)";
    "Questions about requirements?" -> "Implement, test, commit, self-review" [label="no"];
    "Implement, test, commit, self-review" -> "Run spec compliance review (./spec-reviewer-prompt.md)";
    "Run spec compliance review (./spec-reviewer-prompt.md)" -> "Spec confirms code matches spec?";
    "Spec confirms code matches spec?" -> "Fix spec gaps" [label="no"];
    "Fix spec gaps" -> "Run spec compliance review (./spec-reviewer-prompt.md)" [label="re-review"];
    "Spec confirms code matches spec?" -> "Run code quality review (./code-quality-reviewer-prompt.md)" [label="yes"];
    "Run code quality review (./code-quality-reviewer-prompt.md)" -> "Code quality approved?";
    "Code quality approved?" -> "Fix quality issues" [label="no"];
    "Fix quality issues" -> "Run code quality review (./code-quality-reviewer-prompt.md)" [label="re-review"];
    "Code quality approved?" -> "Mark task complete in docs/plans/task.md" [label="yes"];
    "Mark task complete in docs/plans/task.md" -> "More tasks remain?";
    "More tasks remain?" -> "Execute implementation (./implementer-prompt.md)" [label="yes"];
    "More tasks remain?" -> "Run final code review for entire implementation" [label="no"];
    "Run final code review for entire implementation" -> "Use finishing-a-development-branch skill";
}

Task Decomposition

When facing multiple problems (e.g., 5 test failures across 3 files):

1. Identify Independent Domains

Group failures by what's broken:

  • File A tests: User authentication flow
  • File B tests: Data validation logic
  • File C tests: API response handling

Each domain is independent — fixing authentication doesn't affect validation tests.

2. Create Task Units

Each task gets:

  • Specific scope: One test file or subsystem
  • Clear goal: Make these tests pass / implement this feature
  • Constraints: Don't change unrelated code
  • Expected output: Summary of what changed and verification results

3. Execute Sequentially with Review

Work through each task one at a time using the full review cycle.

4. Review and Integrate

After all tasks:

  • Run full test suite to verify no regressions
  • Check for conflicts between task changes
  • Run final code review on entire implementation

Task Brief Structure

For each task, prepare:

task_boundary:
  description: "Implement Task N: [task name]"
  prompt: |
    ## Task Description
    [FULL TEXT of task from plan — paste it here]

    ## Context
    [Where this fits, dependencies, architectural context]

    ## Constraints
    - Only modify [specific files/directories]
    - Follow existing patterns in the codebase
    - Write tests for new functionality

    ## Verification
    - Run: [specific test command]
    - Expected: [what success looks like]

Key: Provide full task text and context upfront. Don't make the task boundary re-read the plan file.

Review Templates

This skill includes prompt templates for structured reviews:

  • ./implementer-prompt.md — Template for implementation task boundaries
  • ./spec-reviewer-prompt.md — Template for spec compliance review (did we build what was requested?)
  • ./code-quality-reviewer-prompt.md — Template for code quality review (is it well-built?)

Review order matters: Always run spec compliance FIRST, then code quality. There's no point reviewing code quality if the implementation doesn't match the spec.

Checkpoint Pattern

At logical boundaries (after each task, at major milestones), report:

  • What changed — files modified, features implemented
  • What verification ran — test results, lint results
  • What remains — remaining tasks, known issues

Update docs/plans/task.md with current status.

Common Mistakes

Task scoping:

  • Bad: "Fix all the tests" — loses focus
  • Good: "Fix user-auth.test.ts failures" — clear scope

Context:

  • Bad: "Fix the validation bug" — unclear where
  • Good: Paste error messages, test names, relevant code paths

Constraints:

  • Bad: No constraints — task might refactor everything
  • Good: "Only modify src/auth/ directory"

Output:

  • Bad: "Fix it" — no visibility into what changed
  • Good: "Report: root cause, changes made, test results"

Reviews:

  • Bad: "It works, move on" — quality debt
  • Good: Implement then spec review then quality review then next task

Example Workflow

You: I'm using single-flow-task-execution to execute this plan.

[Read plan file: docs/plans/feature-plan.md]
[Extract all 5 tasks with full text and context]
[Update docs/plans/task.md with all tasks as 'not_started']

--- Task 1: Hook installation script ---

[Prepare task brief with full text + context]
[Execute implementation following ./implementer-prompt.md structure]

Questions: "Should the hook be installed at user or system level?"
Answer: "User level (~/.config/superpowers/hooks/)"

Implementation:
  - Implemented install-hook command
  - Added tests, 5/5 passing
  - Self-review: Found I missed --force flag, added it
  - Committed

[Run spec compliance review following ./spec-reviewer-prompt.md]
Spec review: Spec compliant — all requirements met, nothing extra

[Run code quality review following ./code-quality-reviewer-prompt.md]
Code review: Strengths: Good test coverage, clean. Issues: None. Approved.

[Mark Task 1 complete in docs/plans/task.md]

--- Task 2: Recovery modes ---

[Prepare task brief with full text + context]
[Execute implementation]

Implementation:
  - Added verify/repair modes
  - 8/8 tests passing
  - Self-review: All good
  - Committed

[Run spec compliance review]
Spec review: Issues found:
  - Missing: Progress reporting (spec says "report every 100 items")
  - Extra: Added --json flag (not requested)

[Fix issues: remove --json flag, add progress reporting]
[Run spec compliance review again]
Spec review: Spec compliant now

[Run code quality review]
Code review: Issue (Important): Magic number (100) should be a constant

[Fix: extract PROGRESS_INTERVAL constant]
[Run code quality review again]
Code review: Approved

[Mark Task 2 complete in docs/plans/task.md]

... [Continue through remaining tasks] ...

[After all tasks complete]
[Run final code review on entire implementation]
Final review: All requirements met, ready to merge

[Use finishing-a-development-branch skill]
Done!

Red Flags

Never:

  • Start implementation on main/master branch without explicit user consent
  • Skip reviews (spec compliance OR code quality)
  • Proceed with unfixed review issues
  • Work on multiple tasks simultaneously
  • Skip scene-setting context (task needs to understand where it fits)
  • Accept "close enough" on spec compliance (reviewer found issues = not done)
  • Skip review loops (reviewer found issues = fix = review again)
  • Let self-review replace actual review (both are needed)
  • Start code quality review before spec compliance passes (wrong order)
  • Move to next task while either review has open issues

If you have questions about requirements:

  • Ask clearly and wait for answers
  • Don't guess or make assumptions
  • Better to ask upfront than rework later

If reviewer finds issues:

  • Fix them
  • Run reviewer again
  • Repeat until approved
  • Don't skip the re-review

Completion

Before claiming all work is done:

  1. Ensure all task entries in docs/plans/task.md are done or cancelled
  2. Run full test/validation command
  3. Verify no regressions across all tasks
  4. Summarize evidence (test output, review approvals)

Advantages

Structured execution:

  • Clear task boundaries prevent scope creep
  • Review gates catch issues early (cheaper than debugging later)
  • Progress tracking provides visibility

Quality gates:

  • Self-review catches obvious issues before handoff
  • Two-stage review: spec compliance prevents over/under-building, code quality ensures maintainability
  • Review loops ensure fixes actually work

Efficiency:

  • Provide full task text upfront (no re-reading plan files)
  • Controller curates exactly what context is needed
  • Questions surfaced before work begins (not after)
  • Sequential execution avoids conflicts between tasks

Integration

Required workflow skills:

  • using-git-worktrees — Set up isolated workspace before starting
  • writing-plans — Creates the plan this skill executes
  • requesting-code-review — Code review template for quality reviews
  • finishing-a-development-branch — Complete development after all tasks

Should also use:

  • test-driven-development — Follow TDD for each task
  • verification-before-completion — Final verification checklist

Alternative workflow:

  • executing-plans — Use for worktree-based parallel session execution

Файли в пакеті

Модель читає ці файли за потреби, поки навичку завантажено. Вони доступні для читання й ніколи не виконуються.

Поширені запитання

Що робить навичка ШІ Single Flow Task Execution?

Use when executing implementation plans, handling multiple independent tasks, or doing structured task-by-task development with review gates in Antigravity.

Навіщо використовувати Single Flow Task Execution у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Single Flow Task Execution — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Single Flow Task Execution у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/skainguyen1412/antigravity-superpowers/tree/main/templates/.agent/skills/single-flow-task-execution. TypingMind прочитає файл SKILL.md, додасть супровідні файли та встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Single Flow Task Execution?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Single Flow Task Execution?

Зі скількома забажаєте. У TypingMind ви можете використовувати Single Flow Task Execution із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Single Flow Task Execution?

На GitHub цю навичку публікує skainguyen1412. Умови ліцензування дивіться в репозиторії. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇