Logo Backpressured

Backpressured

Cộng đồng
lucasfcosta
backpressured

Runs a backpressured automated development loop. Use it ONLY when the user explicitly mentions "backpressured" or "backpressure" — e.g. asking for a "backpressured" loop/run, "do this backpressured", or invoking it by that name — or runs the `/backpressured:goal` command. A bare `/goal`, or any goal-like request that does not mention backpressure, does NOT trigger this loop.

Tổng quan

Nhà phát hànhlucasfcosta
Kho mãbackpressured
Tên kỹ năngbackpressured
Sao
63
Bản fork
2
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được lucasfcosta công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Backpressured trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/lucasfcosta/backpressured/tree/main/skills/goal
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/lucasfcosta/backpressured.git /tmp/backpressured
mkdir -p .claude/skills
cp -r /tmp/backpressured/skills/goal .claude/skills/backpressured
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Backpressured trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Backpressured ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Backpressured với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Backpressured

Overview

You are the producer's backpressure of LAST resort — your job is to replace yourself with machines that say "no" first. A human reading your code should be the last line of defense, never the first. Every "no" a machine can produce — a failing test, a type error, a lint rule, a benchmark regression, a reviewer's objection — must be produced by the machine, before you hand anything back.

So you do not stop when the code "works." You drive the goal through the full loop below and stop only when every acceptance criterion and every quality check passes — or when you are genuinely blocked and can name exactly what is blocking you.

When to Use

  • The user explicitly mentions "backpressured" or "backpressure" — asking for a backpressured loop/run, "do this backpressured", or invoking it by that name (brand-name mentions count too).
  • The user runs the /backpressured:goal command.

Not for: generic "implement X", "fix this bug", "build X and ship it", "open a PR", or a bare /goal request that does not explicitly mention backpressure. A finished, landed result being expected is not by itself enough — wait for one of the two signals above. Also not for one-line factual answers, pure research/exploration, or when the human wants to drive step by step.

First: pin down "done"

"Done" is defined by criteria, so make them explicit before anything else:

  • Acceptance criteria — what must be true for the goal to be met. If the user didn't list them, infer them and state them up front.
  • Quality checks — lint, tests, new behavior covered, project verification scripts, benchmarks, review. These apply on top of acceptance criteria, every time.
  • Project customization — check for an optional BACKPRESSURE.md at the project root and fold its instructions in now (see Figuring out the checks).

The Loop

dot
digraph backpressure_loop {
    "Goal received" [shape=doublecircle];
    "Write lightweight plan (approach + architecture, not details)" [shape=box];
    "Independent reviewer approves the plan?" [shape=diamond];
    "Revise plan" [shape=box];
    "Write the next patch" [shape=box];
    "Run every applicable check (incl. independent code review)" [shape=box];
    "All checks green?" [shape=diamond];
    "Fix the failure" [shape=box];
    "Genuinely blocked?" [shape=diamond];
    "STOP: name the blocker, do NOT mark done" [shape=octagon, style=filled, fillcolor=red, fontcolor=white];
    "All acceptance + quality criteria met?" [shape=diamond];
    "Run for real: curl, browser, full suite, full benchmarks, holistic independent review" [shape=box];
    "Open the PR" [shape=box];
    "Monitor: CI, comments, conflicts" [shape=box];
    "Landed clean with nothing outstanding?" [shape=diamond];
    "Done" [shape=doublecircle];

    "Goal received" -> "Write lightweight plan (approach + architecture, not details)";
    "Write lightweight plan (approach + architecture, not details)" -> "Independent reviewer approves the plan?";
    "Independent reviewer approves the plan?" -> "Revise plan" [label="no"];
    "Revise plan" -> "Independent reviewer approves the plan?";
    "Independent reviewer approves the plan?" -> "Write the next patch" [label="yes"];
    "Write the next patch" -> "Run every applicable check (incl. independent code review)";
    "Run every applicable check (incl. independent code review)" -> "All checks green?";
    "All checks green?" -> "Fix the failure" [label="no"];
    "Fix the failure" -> "Genuinely blocked?";
    "Genuinely blocked?" -> "STOP: name the blocker, do NOT mark done" [label="yes"];
    "Genuinely blocked?" -> "Run every applicable check (incl. independent code review)" [label="no"];
    "All checks green?" -> "All acceptance + quality criteria met?" [label="yes"];
    "All acceptance + quality criteria met?" -> "Write the next patch" [label="no — keep going, do NOT hand back"];
    "All acceptance + quality criteria met?" -> "Run for real: curl, browser, full suite, full benchmarks, holistic independent review" [label="yes"];
    "Run for real: curl, browser, full suite, full benchmarks, holistic independent review" -> "Open the PR";
    "Open the PR" -> "Monitor: CI, comments, conflicts";
    "Monitor: CI, comments, conflicts" -> "Landed clean with nothing outstanding?";
    "Landed clean with nothing outstanding?" -> "Write the next patch" [label="no"];
    "Landed clean with nothing outstanding?" -> "Done" [label="yes"];
}

Phase 1 — Plan, then get it reviewed (before any code)

Write a lightweight plan: the overall approach and architecture, not implementation details (defer those to the loop). Then dispatch the reviewer subagent to judge whether the fundamental approach is sound; it applies [[plan-review]] for its criteria. Iterate until it approves. Only then write code. A wrong approach caught here is free; caught after 300 lines it is not.

Phase 2 — Implement in a loop, with checks EVERY iteration

After each patch, before writing the next one, run the checks that apply to this project:

  • lint clean
  • tests green, and new behavior covered by new tests (if the project has tests)
  • project verification scripts (typecheck, commit-message check, etc.)
  • benchmarks via [[running-benchmarks]], if the project is performance-sensitive (the fast targeted suite per iteration)
  • a visual review via [[visual-review]] for front-end changes (screenshots vs. the design)
  • the reviewer subagent on the diff

Run checks every iteration, not batched at the end — confronting the consumer's expectations often is what catches issues early. Scope them to stay fast (lint + targeted tests on touched code is fine per patch), but never skip them, and run the full suite before you leave the loop. Do not write the next patch until everything you ran is green.

Phase 3 — Before you call it done

Automated green is necessary, not sufficient. Once all criteria appear met, in this order:

  1. Run the full test suite + lint, and the full benchmark suite via [[running-benchmarks]] if perf-sensitive. Cheapest signal first — no point hand-driving the app if a unit test already catches it.
  2. Only once that's green, run the app for real via [[manual-testing]]: exercise each acceptance criterion and the cheap unhappy paths through the running app (curl the API, a real browser via Playwright for the UI). Always run this gate — green automated tests, including integration and end-to-end suites, do not satisfy it; they exercise the code, not the running system. The only exception is when BACKPRESSURE.md's Skip section explicitly opts out of manual testing (e.g. it designates an E2E suite as the replacement). Absent that written opt-out, manual testing runs — your own judgment that "the tests cover it" is not an opt-out.
  3. For front-end changes, run [[visual-review]] over the whole feature, not just the last view you touched.
  4. Dispatch the reviewer subagent over the whole changeset, not just the last patch.

Phase 4 — Ship and monitor

Open the PR — then keep watching it until it lands. A PR opening is not "done." Done is when the change has merged clean (or you are blocked on something only a human can resolve). Run the watch-until-landed loop in [[pr-monitoring]]: CI to completion, the green-minute rule (a green check can flip red), late review-bot/human comments, and merge conflicts — monitoring in the background, but never abandoning it before merge.

Independent reviewers are not optional

Reviews must come from a subagent that did not write the code. Your own re-read shares the blind spots you wrote with — "it looks clean to me" is exactly the state in which subtle bugs survive. Dispatch the reviewer subagent (defined in this plugin's agents/), hand it the diff or plan, and let it invoke the relevant reviewer skill(s) below for its criteria; then act on the real findings (and push back on wrong ones). This applies to the plan (Phase 1), each iteration (Phase 2), and the whole changeset (Phase 3).

This skill is the router; the criteria live in the reviewer skills

Do not inline review criteria here. Each review dimension is its own skill, and the reviewer subagent invokes the relevant one(s) for the diff in front of it. Dispatch by what the diff touches:

DimensionReviewer skillDispatch when the diff…
Correctness, simplicity, tests[[general-code-review]]almost always — the default lens for logic/edge-case bugs, needless complexity or duplication, and whether new behavior is actually tested
Type design[[type-design-review]]adds/changes data models, function signatures, or domain types (booleans/optionals for state, switch over unions, as/!, raw string/number ids)

A diff usually warrants more than one dimension — give the subagent every reviewer skill that applies, not just one. [[general-code-review]] is the default; add [[type-design-review]] (and future reviewer skills) on top when they apply. The plan review (Phase 1) judges approach soundness against a plan rather than a diff, so it uses [[plan-review]] instead of these code-review dimensions.

Also apply any project/personal standards skills the project names. If BACKPRESSURE.md has a Review section listing standards skills (e.g. react-best-practices, design-skills, an accessibility or API-style guide — typically from the project's .claude/skills/ or your ~/.claude/skills/), hand those to the reviewer subagent too, alongside the dimensions above. They encode this project's conventions; the reviewer should hold the diff to them.

Figuring out the checks

Two inputs decide what runs:

  1. An optional BACKPRESSURE.md at the project root — plain-English, project-specific instructions that customize this loop: exact check commands, extra gates, things to skip, acceptance defaults, how to run the app or pick a benchmark suite, and so on. It is optional. If it exists, treat its instructions as authoritative project customization layered on the defaults here — it wins on conflict, and it overrides the loop diagram and Quick Reference too. So it can skip or replace any step they show (e.g. "don't open a PR, we merge from local branches" or "skip the visual review"). If it does not exist, just use the defaults; do not create one or ask the user for one.
  2. What the project actually has — wherever BACKPRESSURE.md is silent (or absent), discover the commands yourself: package.json scripts, Makefile, CI config, README.

Gate the project-specific layers on what exists: no benchmark suite → skip benchmarking; not a UI change → skip the visual review; not a git/GitHub repo → skip PR open/monitor. Run what exists; do not invent or fake checks.

Quick Reference

PhaseBackpressure applied
PlanIndependent reviewer approves the approach before any code
Each iterationLint, tests, coverage, verification scripts, benchmarks, visual, independent code review
Before doneReal run (curl + browser), full suite, full benchmarks, holistic independent review
ShipOpen PR, then monitor CI + comments + conflicts until landed

Common Rationalizations

RationalizationReality
"I'll run lint/tests once at the end"Run them each iteration. End-only batching turns one red bar into a bisecting session and lets bad patches pile up.
"My own careful re-read is enough review"You review with the same blind spots you wrote with. Spawn an independent reviewer.
"The PR is open, so I'm done"Open ≠ landed. Monitor CI, comments, and conflicts until it merges clean.
"The approach is obvious, skip the plan review"Obvious-and-rushed is exactly when the wrong approach ships. Get the plan reviewed first.
"It works when I curl it, ship it"One manual happy path is not the full suite, edge cases, or a real browser.
"Integration/E2E tests pass, so manual testing is redundant"Automated suites exercise the code, not the running system, and share the blind spots you wrote with. Run the app for real every time — the only exception is an explicit manual-testing opt-out in BACKPRESSURE.md.
"This is a natural breakpoint, I'll check in"You are backpressure of last resort, not first. Keep going until criteria pass or you are blocked.
"CI will catch it"CI catching it means a human waits on a red PR. Catch it locally first.
"The flaky/failing check isn't really my problem"A red check is unresolved work. Fix it, or stop and name the blocker — never skip, retry-until-green, or mark done around it.

Red Flags — STOP

  • About to report partial progress and hand back without a concrete blocker
  • About to open a PR without an independent review
  • About to skip or defer checks "just this iteration"
  • About to call it done off green automated tests (including integration/E2E) without running the app for real, with no manual-testing opt-out in BACKPRESSURE.md
  • Treating PR-open as the finish line
  • Skipping the plan review because the approach "feels obvious"

All of these mean: you are about to become the human backpressure you are supposed to replace. Get back in the loop.

Câu hỏi thường gặp

Kỹ năng AI Backpressured làm được gì?

Runs a backpressured automated development loop. Use it ONLY when the user explicitly mentions "backpressured" or "backpressure" — e.g. asking for a "backpressured" loop/run, "do this backpressured", or invoking it by that name — or runs the `/backpressured:goal` command. A bare `/goal`, or any goal-like request that does not mention backpressure, does NOT trigger this loop.

Vì sao nên dùng Backpressured trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Backpressured là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Backpressured trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/lucasfcosta/backpressured/tree/main/skills/goal. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Backpressured?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Backpressured với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Backpressured với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Backpressured có miễn phí không?

Có. Kỹ năng này được lucasfcosta phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇