원클릭으로
agent-qa
Instructions for agentic validation of pacwich by interacting with real monorepos against documentation.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Instructions for agentic validation of pacwich by interacting with real monorepos against documentation.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Guide the user step-by-step through performing QA of pacwich themselves (CLI, API, config), handing them copy-pasteable commands/code and doc pointers as they drive. Inverse of agent-qa.
Use to assist a manual review of the codebase
Use when user is ready to work on documentation updates after unreleased changes have been made. Use
Use when user is ready to release a new version of pacwich. Use
Quiz the user on the purpose of code in their repo. Picks a random file (git-tracked by default) and asks the user to explain either the file's overall purpose or that of a randomly-chosen utility inside it. Configure include/exclude globs and the git-tracked toggle via this skill's `config.json`. Invoke when the user asks to be quizzed.
| name | agent-qa |
| description | Instructions for agentic validation of pacwich by interacting with real monorepos against documentation. |
This is a guide for performing manual QA of pacwich.
The user may specify scopes for the validation:
bunx pacwich and run API scripts via bun directlyIf the user doesn't provide adequate scope in the initial prompt, give them a question set to get their input in a way that must allow for their freeform notes added to selected answers. "Only test the CLI and use full scope otherwise with the local build" should be sufficient without further input, since it covers all cases.
Do NOT read source code or code from node_modules, including documentation source files. You are an end user only. Report bugs or issues
without diagnosing in the source. Documentation should be accessed like an end user.
Other agents will have the build version of the package only, not this source monorepo. Reading source code is a failure to perform this skill. We have documentation precisely because do not want users (including agents) to need to read GitHub source code or node_modules to have a successful development experience.
The existing AGENTS.md in context suffices, as this is how it would be provided to an end user's agent.
The documentation website is accessed by reading from https://pacwich.dev/llms.txt and looking up pages from its manifest.
The README.md file found here can simply be read directly as an exception to the source code rules.
TSDoc instructions found below.
scripts/sandbox.shWe want to use some kind of sandbox to run changes. For this, the local scripts/sandbox.sh is included in this shell.
Go ahead and read this file to understand the mechanisms.
Usage:
sandbox.sh — isolated global-install sandbox for pacwich spec verification.
Usage:
sandbox.sh setup [npm|bun|pnpm] [npm|local|<other>] # build sandbox + global install
sandbox.sh run <cmd...> # run any command inside it
sandbox.sh install [project-dir] # local-install pacwich for the API
sandbox.sh tsdoc [project-dir] # dump installed pacwich TSDoc
sandbox.sh env # print sandbox paths
sandbox.sh teardown # remove it
The first setup arg is the package manager under test. The second is the install source
from the scope: local (the local build at workspaces/packages/pacwich/dist, requires
bun pw build first) or npm (the published package). Whichever you pick is used for both
the global install and any later install (local), so all installs test the same artifact.
Use exactly one source per run, matching the chosen scope.
Use the teardown command to clean up the sandbox, and always do this when you're done.
You will need to scaffold test monorepos. You should make real frontend and backend apps with:
react, eslint, etc., since having them is good for features involving external dep versions like inputsMake at least a brief pass at these types of setups (basic conformance with core features from each layer, not entire spec for each)
The full verification is ran against a standard test monorepo that you should feel free to mutate to see the effects of having 0, 1, 2+ workspaces and so on, using a sane variety.
This is not necessarily an exhaustive list of checks, as the true exhaustive list is the documentation source itself, but a guide of notes major sections of the verification.
Ensure the global CLI behaves as expected. Confirm it works without a local installation and delegates to a local installation (it's okay to mutate node_modules to force a version diff here).
It's also okay to verify the runtime being used by console logging the Bun global in the entrypoint in
node_modules/pacwich/src/index.js. Simply append to the file so that you don't need to read it and remove
the line confirming. Besides these two exceptions, still do not touch or read node_modules directly.
Note: PACWICH_DISABLE_LOCAL_DELEGATION should not be set to "true" in the sandbox env.
Verify each command as it appears in the doc. Then cross-verify that the CLI usage is covered and is also sane.
Commands that only have subcommands may not be included as commands in the documentation, since they generally just exit with code 1 and help text.
The API needs a local install. Run sandbox.sh install [project-dir] to install pacwich
(the source chosen at setup) into a project, then exercise the API from there.
Similarly verify API similarly to CLI, following what is documented first and then inspecting real objects and the like (including modules) for undocumented methods or properties that don't seem simply weakly private (e.g. no leading underscore).
Access TSDoc via sandbox.sh tsdoc <project-dir>, where <project-dir> is a project with
pacwich installed locally (defaults to the sandbox work dir). This dumps the installed build's
TSDoc so you get it like an end user's editor would, without reading source.
Use every kind of available configuration file (ts/js/json/jsonc) and option, using each form each option accepts.
Go with the grain and against the grain of all interfaces, using features in a variety of incorrect or unconventional/unexpected ways.
If an error or warning message seems potentially misleading or unhelpful to users (e.g. workspaces or files causing some issue not being clearly listed in the error message or a seemingly inaccurate message), report this.
Create a markdown report of the verification results, including any issues found and recommendations for improvement.
This is essentially a full QA breakdown. Group by severity first. Bugs should read as full bug reports with steps to reproduce, expected behavior, and actual behavior, etc.
Findings that aren't neatly categorized as bugs can be included in a general loosely structured findings section after bug reports.