Skip to main content

Test your package through the eyes of a newbie agent — a fresh AI agent reads only your docs/skills and tries to use your package.

Project description

newb

newb mascot

A fresh AI agent reads only your _skills/ (or equivalent docs) and tries to use your package. If it succeeds, your docs work.

Install

pip install newb

Use

newb ./src/mypkg/_skills/mypkg
newb ./_skills --format markdown >> README.md

Spins up a clean docker container with only your skills mounted, then asks a fresh Claude agent four canonical questions (what for / problems / quick start / when not to use), plus optional red tests from _red_tests.yaml.

Output: JSON (for CI) or markdown (for README injection).

Library

import newb
report = newb("./src/mypkg/_skills/mypkg")
print(newb.render_markdown(report))

Requirements

  • Docker on PATH
  • ANTHROPIC_API_KEY in env
  • Python 3.10+

License

AGPL-3.0-only.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

newb-0.4.0.tar.gz (12.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

newb-0.4.0-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

Details for the file newb-0.4.0.tar.gz.

File metadata

  • Download URL: newb-0.4.0.tar.gz
  • Upload date:
  • Size: 12.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0rc1

File hashes

Hashes for newb-0.4.0.tar.gz
Algorithm Hash digest
SHA256 d0e489571cb263646ab6ccaafbea6ce6974c8d135a6392d523c5e2e7935859e0
MD5 2da4b5caab23c6e4f079990d0f00e2b0
BLAKE2b-256 263e3f23f2f13893f6da080e56da38c15d1d69acb9563437c1f911d0a9a7e88d

See more details on using hashes here.

File details

Details for the file newb-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: newb-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 10.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0rc1

File hashes

Hashes for newb-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6759d6e80fdb0b215083b39fc2211575fd16527af7ee2e06ba6305fd11740e5a
MD5 f93c03f5c6d5a54ac9d090c7eb876968
BLAKE2b-256 f0181f125d9e852515a0e3986a967a73f52f6081ff3dfeb8863c02ce5812981e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page