New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

@haaaiawd/anws

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@haaaiawd/anws

Anws — A spec-driven workflow framework for AI-assisted development. Empowers prompt engineers to build production-ready software through structured PRD → Architecture → Task decomposition. Works with Claude Code, GitHub Copilot, Cursor, Windsurf, and any

latest
Source
npmnpm
Version
2.4.1
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source
Anws

License: MIT Version Targets

English | 中文

Anws

Anws is a spec-driven workflow framework for AI-assisted development across modern AI IDEs and coding tools.

It helps teams build production-ready software through a disciplined path:

PRD -> Architecture -> ADR -> Tasks -> Review -> Code -> Upgrade

Anws enforces design-first principles, preserves context in files, and prevents architectural drift across multi-tool AI coding workflows.

TL;DR: a design-first workflow framework for AI coding tools that turns vibe coding into production-oriented engineering.

ANWS

  • Axiom — principle before implementation
  • Nexus — connection before fragmentation
  • Weave — coherence before accumulation
  • Sovereignty — human judgment before automation

Why Anws Exists

Many so-called spec systems are good at one thing: generating documents up front. That is not the hard part. The hard part is keeping implementation, verification, review, and upgrades aligned with those documents after the initial planning pass.

That is where AI coding usually breaks down:

  • docs and code drift apart until nobody is sure which one is the real source of truth
  • a new session loses context and starts guessing about boundaries, trade-offs, and task state
  • code starts before requirements and interfaces are stable, so rework becomes inevitable
  • automation increases speed, but review discipline and evidence quality quietly drop
  • template upgrades become risky because existing projects cannot absorb new rules cleanly

Anws is not just a system for writing specs. It is a framework for keeping design, execution, verification, review, and upgrade tied together.

  • Documents are operating state, not attachments
    • PRD, Architecture, ADR, System Design, 05A_TASKS.md, 05B_VERIFICATION_PLAN.md, and AGENTS.md are part of the workflow runtime, not disposable planning notes.
  • Highly documented, but for control rather than ceremony
    • Design, task, and verification are separated on purpose so task ownership, validation responsibility, and evidence output stay traceable.
  • Automation stays fast without becoming sloppy
    • /forge AUTO speeds delivery up, but it does not bypass challenge pressure, code review, validation gates, or evidence closure.
  • It orchestrates verification, not only implementation
    • 05A owns execution flow and 05B owns verification planning. E2E, for example, is declared as a trigger assumption during planning and executed later in /forge, instead of being hand-waved as “already tested.”
  • Upgrades are controlled, not overwrite-driven
    • Templates, projections, and AGENTS.md have explicit update semantics, so existing projects can evolve without being effectively reinstalled from scratch.

Quick Start

Install via npm

npm install -g @haaaiawd/anws
cd your-project
anws init
  • Requirement
    • Node.js >= 18
  • Install behavior
    • anws init installs one or more target projections into their native folders
    • example: anws init --target windsurf,opencode

Update an Existing Project

cd your-project
anws update
  • Update flags
    • anws update --check and anws update --target are removed; run anws update once to refresh all matched targets
  • State source
    • anws update reads .anws/install-lock.json
    • if the lock is missing or invalid, it falls back to directory scan
    • if lock drift is detected, directory scan becomes the effective source for the current update
    • a real anws update can rebuild .anws/install-lock.json from detected targets when fallback is active
  • AGENTS.md behavior
    • marker-based file -> update stable sections, preserve AUTO block
    • recognized legacy file -> migrate into new marker-based structure
    • unrecognized legacy file -> warn and preserve unchanged
  • Legacy migration
    • if a project still has .agent/, the CLI can guide migration to .agents/
    • after successful migration, interactive mode can also ask whether to delete the old .agent/
  • Upgrade record
    • every successful update refreshes .anws/changelog/
    • target state is written back to .anws/install-lock.json

Feature demos

What using Anws looks like in practice: architecture-first /genesis, human-in-the-loop requirement alignment, and skill orchestration.

Deep Thinking & Architecture Design
Genesis Workflow

Interactive Requirement Alignment
Human Interaction

Autonomous Skill Invocation
Skills Execution

Philosophy

1. Docs first—specs keep you in command
PRD, architecture, tasks, and design land in the repo before code does—so the project doesn’t drift in aimless “vibe runs.” Scope and progress live in .anws/, 05A_TASKS.md, 05B_VERIFICATION_PLAN.md, and AGENTS.md: you stay in control of the system, not whichever chat window is open.

2. Full autonomy inside the rails
/forge AUTO is delegation with checkpoints: keep moving inside agreed contracts. Code review, e2e-testing-guide, and the rest of the template gates keep runs auditable and bounded. When a wave is executing, it’s reasonable to walk away—coffee, a walk—because confidence comes from the spec and gates, not from staring at the model.

Iteration is the product
/challenge isn’t a one-time rubber stamp; it’s repeated adversarial passes. Good products and clear ideas are sharpened over cycles—same as real shipping: each round pulls design, tasks, and implementation back into alignment.

Use Anws as a lifecycle, not just a folder pack.

CommandPurposeInputOutput
/quickstartRoute the user through the correct workflow pathAuto-detected stateFull orchestration
/genesisStart from zero with PRD and architectureVague ideaPRD, architecture, ADRs
/probeAnalyze a legacy codebase before changeExisting codeRisk report
/design-systemDesign one system in depthArchitecture overviewSystem design doc
/challengeReview design, tasks, and implementation fidelity with adversarial pressureDocs / tasks / codeChallenge report
/blueprintBreak architecture into executable workPRD + architecture05A_TASKS.md + 05B_VERIFICATION_PLAN.md
/forgeTurn approved tasks into code with challenge-report and contract gatesTasks + review stateWorking implementation
/changeIn-version task/contract tweaks (controlled expansion: few new tasks)Small scoped changeUpdated task/design docs
/exploreResearch ambiguous or strategic topicsTopicExploration report
/craftCreate workflows, skills, and promptsCreation requestReusable assets
/upgradeRoute post-update upgrade workUpdate changelogChange or genesis path

Contributing

Contributions are welcome. Before opening a PR, make sure changes align with the spec-driven workflow and the target projection model.

License

MIT © 2026

Made for architects who code, and AIs who think.

Good architecture isn't written. It's designed.

Keywords

anws

FAQs

Package last updated on 15 May 2026

Related posts