Skip to content

Latest commit

 

History

History
49 lines (37 loc) · 1.82 KB

File metadata and controls

49 lines (37 loc) · 1.82 KB

Agent Guide

Repo

  • Single-package TypeScript repo for @putdotio/sdk
  • Build and test workflow uses Vite+
  • Main areas: src/*, test/live/*, docs/*, scripts/*

Start Here

Commands

  • vp install
  • vp check .
  • vp pack
  • vp run test
  • vp run coverage
  • vp run test:live
  • vp run verify
  • vp run bootstrap:tokens

Repo-Specific Guidance

  • Treat @putdotio/sdk as a new public package, not a compatibility wrapper around putio-js.
  • Keep the public surface domain-first and Effect-first.
  • Validate external data at the boundary with schemas and keep typed failures explicit.
  • Prefer feature/domain modules over layering by technical concern.
  • Keep README.md consumer-facing; put repo-operator detail in docs/* and keep AGENTS.md as a routing layer.
  • Prefer vp for toolchain and package-manager operations; use vp run <script> for custom package scripts.
  • Keep public package boundaries explicit and open-source-safe.
  • Avoid unsafe casts, ignored checks, and weakened thresholds unless explicitly approved.
  • Update docs when the public surface, verification workflow, or repo shape changes.

Testing

  • Default tests exclude test/live/**.
  • Use vp run test:live or the single-target live commands in Testing when verifying against the real API.
  • Keep consumer-package verification healthy; the consumer live test is the publication safety net.

Skills

  • Use the shared putio-sdk-dev skill from putio-skills for cross-SDK guidance. Add repo-local .agents/skills/* only for TypeScript SDK guidance that would be too specific for that shared skill.
  • CLAUDE.md should remain a symlink to this file.