michael-denyer/pstack-claude / plugins/pstack/skills/poteto-mode
poteto-mode
Verifiedpoteto's agent style for concise, detailed responses, deliberate subagents, unslopped prose, simple code, and verified work. Use for poteto, /poteto-mode, or requests to work in this style.
scripts/watch-pr/check-suites.ts
View on GitHubimport type { CheckRead, SuiteCheck } from "./types.ts";
// Suites with runs have already been removed beside reported checks. With a
// null rollup, even a suite with runs can be the only visible evidence of CI.
// "uncounted" marks an unfinished suite with no runs from an app that may
// never run, which the caller lists rather than waits on.
export function classifySuite(
state: { readonly conclusion: string } | { readonly status: string },
app: { readonly name: string; readonly slug: string | null },
zeroRuns: boolean,
checksRead: CheckRead["kind"],
expected: boolean
): SuiteCheck | "uncounted" | null {
const actions = app.slug === "github-actions";
const details = {
source: "check-suites",
name: `${app.name} check suite`,
link: "",
workflow: "",
} as const;
if ("status" in state) {
// Apps such as Claude queue a suite on every push and may never run it;
// apps such as Azure Pipelines can take hours to start. Only --expect-app
// tells them apart.
if (
!actions &&
!expected &&
(checksRead === "reported" ||
(zeroRuns && app.slug !== null && state.status === "queued"))
)
return "uncounted";
return {
...details,
kind: "pending",
reportedState: state.status.toUpperCase(),
description: "has not finished",
};
}
const { conclusion } = state;
if (["success", "neutral", "skipped"].includes(conclusion)) return null;
if (checksRead === "reported" && conclusion !== "action_required")
return null;
const description =
conclusion !== "action_required"
? `concluded ${conclusion}`
: actions && zeroRuns
? "waits for maintainer approval to run; approve the workflows on the pull request"
: `requires action; review the check details for ${app.name} on the pull request`;
return {
...details,
kind: "failed",
reportedState: conclusion.toUpperCase(),
description,
};
}
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 471k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |