
Security News
Happy Birthday, Shai-Hulud
It has been one year since Shai-Hulud made its first appearance on npm.
@piotr-oles/pi-yagni
Advanced tools
Pi Agent extension: inject YAGNI discipline — build the minimum that works, reuse before writing, no speculative code
A pi coding agent extension that injects YAGNI ("You Aren't Gonna Need It") discipline into the agent — build the minimum that works, reuse before writing, no speculative code.
pi install npm:@piotr-oles/pi-yagni
No configuration. Enabled whenever installed. Uninstall to disable.
Injects a YAGNI instruction block into the system prompt at session start. The block gives the agent a decision ladder — stop at the first rung that holds — before writing any code:
Plus rules against speculative generality, premature abstraction, and unrequested error handling / caching / logging.
This extension is very lite on context — adds only a few lines of text to the system prompt.
pnpm install
pnpm test
pnpm typecheck
pnpm check
To test changes manually, pass the source entry point directly to pi:
pi -e packages/pi-yagni/src/index.ts
FAQs
Pi Agent extension: inject YAGNI discipline — build the minimum that works, reuse before writing, no speculative code
The npm package @piotr-oles/pi-yagni receives a total of 7 weekly downloads. As such, @piotr-oles/pi-yagni popularity was classified as not popular.
We found that @piotr-oles/pi-yagni demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
It has been one year since Shai-Hulud made its first appearance on npm.

Research
/Security News
Operators behind PolinRider used a compromised GitHub account to plant malware in four development versions of a Packagist package with 700,000+ downloads.

Security News
GitHub Actions now supports cache-mode, a least-privilege control on the Actions cache aimed at the cache poisoning technique behind recent compromises.