惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Google DeepMind News
Google DeepMind News
G
Google Developers Blog
博客园 - 三生石上(FineUI控件)
B
Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Hugging Face - Blog
Hugging Face - Blog
C
Check Point Blog
V
V2EX
Vercel News
Vercel News
U
Unit 42
Recent Announcements
Recent Announcements
Last Week in AI
Last Week in AI
J
Java Code Geeks
WordPress大学
WordPress大学
罗磊的独立博客
I
InfoQ
阮一峰的网络日志
阮一峰的网络日志
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
小众软件
小众软件
M
MIT News - Artificial intelligence
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Apple Machine Learning Research
Apple Machine Learning Research
Martin Fowler
Martin Fowler
云风的 BLOG
云风的 BLOG

Hacker News - Newest: "AI"

AI can't read an investor deck AI as an attorney? Student uses ChatGPT, Gemini to sue UW over alleged racial discrimination Hacking MCP Servers in AI Systems – The Rug Pull: Tool Changes After Approval GitHub - MeepCastana/KubeezCut: Free Web based video editor Can AI judge journalism? A Thiel-backed startup says yes, even if it risks chilling whistleblowers Coming soon: 10 Things That Matter in AI Right Now DARPA built an AI to fact-check enemy weapons claims What explains heterogeneity in AI adoption? When AI Meets Muscle: Context-Aware Electrical Stimulation Promises a New Way to Guide Human Movements - Department of Computer Science AI Changed How We Build. It Did Not Change What Matters. Linux rules on using AI-generated code - Copilot is OK, but humans must take 'full responsibility for the… Meta spins up AI version of Mark Zuckerberg to engage with employees Code Mode: Let Your AI Write Programs, Not Just Call Tools | TanStack Blog GitHub - Delavalom/graft: Go framework for building AI agents. Type-safe tools, multi-provider (OpenAI, Anthropic, Gemini, Bedrock), zero vendor SDKs. India's TCS tops estimates, says new AI models did not dent services demand Gen Z's fading AI hype Strong feeling: we are in a folded AI reality GitHub - machinarii/total-recall-catalog: A reference catalog of latest knowledge retrieval, memory & RAG systems GitHub - mensfeld/code-on-incus: Give each AI agent its own isolated machine with root, Docker, and systemd. Active defense detects and stops threats automatically.. Quantization, LoRA, and the 8% Problem: Benchmarking Local LLMs for Production AI Iran war: We spoke to the man making Lego-style AI videos that experts say are powerful propaganda Powell, Bessent discussed Anthropic's Mythos AI cyber threat with major U.S. banks GitHub - immartian/bellamem: Persistent belief-graph memory for AI agents. Retrieves decisive context by importance — not recency, not RAG, not /compact. recursive-mode: The Repo-Native Operating System for AI Engineering After the attack on Sam Altman's home, will AI CEO's go on the offensive? The biggest advance in AI since the LLM Opus 4.6 vs GPT 5.4 One Prompt Unity World Generation Test “AI polls” are fake polls Client Challenge Can AI be a 'child of God'? Inside Anthropic's meeting with Christian leaders
GitHub - Espenandreass1/agentslice: A Markdown workflow k...
espenand · 2026-05-25 · via Hacker News - Newest: "AI"

A free, open-source workflow kit for AI coding agents.
Makes Cursor, Claude Code, Codex and Windsurf ask before they edit.

MIT License GitHub Issues Discussions

WebsiteDiscussions


Quick start

npx agentslice init
# Paste INSTALL_PROMPT.md into Cursor / Claude Code / Codex / Windsurf
# Watch the agent ask, plan, and wait

That's it. No build step, no runtime, no editor extension.

30-second demo

AgentSlice demo

What it does

AI coding agents work better when they know the next step. Without a workflow they suffer from three failure modes developers describe constantly:

  • Context drift — the agent forgets what was decided two messages ago and reopens settled questions.
  • Wandering edits — the agent expands the task, touches files you didn't ask about, and burns tokens on detours.
  • Editing without asking — the agent jumps straight to changes before you've approved a plan.

AgentSlice gives the agent a project-local workflow it actually reads: a tiny set of Markdown files that pin down the phases, the gates, and the next required action so the agent asks first, plans first, and waits for approval before it edits.

What's in the kit

File Purpose
INSTALL_PROMPT.md The one prompt you paste into your AI tool to bootstrap the workflow.
docs/planning/workflow-state.md Resumable state file — current phase, approved slice, QA status, next allowed action.
.agents/skills/ Shared planning skills: intake, slice planning, spec, QA gate, release, advance.
.cursor/rules/ Project rules for Cursor.
.claude/skills/ + CLAUDE.md Skills and project memory for Claude Code.
.codex/skills/ + AGENTS.md Skills and project rules for Codex.
.windsurf/rules/ + .windsurfrules Rules for Windsurf.

Everything is plain Markdown. You can read it, fork it, edit it for your stack.

Supported tools

Cursor · Claude Code · Codex · Windsurf · OpenCode · any agent that respects project-level rule files (AGENTS.md, CLAUDE.md, .cursor/rules/, .windsurfrules).

How it works

Ask → Plan → Approve → Build → QA → Release → Next
  1. Ask. The agent asks up to five product questions and writes lightweight context.
  2. Plan. It proposes a first slice — the smallest end-to-end vertical you can ship.
  3. Approve. You approve, reject, or adjust the slice. The agent waits.
  4. Build. Only after approval does the agent write code.
  5. QA. The agent (or a QA subagent, where supported) checks the work and reports PASS / PASS WITH NOTES / FAIL.
  6. Release. A release recommendation is written. You approve.
  7. Next. The state file advances to the next slice. The loop repeats.

The state lives in docs/planning/workflow-state.md so the next agent session resumes from a real checkpoint instead of re-guessing.

Why this exists

I spent 3 months experimenting with building AI products and testing different workflows. This is the workflow that actually worked — intake questions, slice discipline, QA handoff, cross-tool consistency.

Why no runtime, why just Markdown

AgentSlice is deliberately not an editor extension, daemon, or hook system. Two reasons:

  1. Portability. The same files work in Cursor, Claude Code, Codex, Windsurf, OpenCode, and any future agent that reads project rules. A runtime would lock you into one tool.
  2. Honesty. No Markdown file can force an LLM to obey. The gates are soft — discipline through clarity, not enforcement. AgentSlice is up-front about this. The workflow is durable because it lives in your repo, not because it traps the model.

If you need hard enforcement, pair AgentSlice with Cursor's PLAN / ASK toggle or Claude Code's hooks. AgentSlice gives the agent the workflow; your tool of choice can add the gates.

Contributing

PRs, issues, and discussion are all welcome. See CONTRIBUTING.md for guidelines.

The fastest way to help: open an issue with the exact prompt + tool + transcript where AgentSlice misbehaved. Real failure transcripts are gold for tuning the rules.

License

MIT. Use it however you want — personal projects, client work, internal tooling, your own product. If you build something on top of AgentSlice, a link back is appreciated but not required.

Maintainer

Built and maintained by Espen Andreassen. Reach out at espenandreass1@gmail.com or open a discussion.


Made in Norway. Opinionated. Free. MIT.