pnpm dlx @promptmarket/cli detect
pnpm dlx @promptmarket/cli doctor
pnpm dlx @promptmarket/cli context "add RAG over our documentation" --project . --format agent
pnpm dlx @promptmarket/cli plan "add RAG over our documentation" --project .
pnpm dlx @promptmarket/cli feature init "add RAG over our documentation" --project . --write --path "app/api/chat/**"
pnpm dlx @promptmarket/cli feature attach rag-internal-docs --path "lib/rag/**" --write
pnpm dlx @promptmarket/cli impacted --base origin/main
pnpm dlx @promptmarket/cli feature review --base origin/main
pnpm dlx @promptmarket/cli verify changed --base origin/main
pnpm dlx @promptmarket/cli feature status
pnpm dlx @promptmarket/cli search "structured extraction"
pnpm dlx @promptmarket/cli show structured-data-extractor
pnpm dlx @promptmarket/cli learn rag
pnpm dlx @promptmarket/cli guides
pnpm dlx @promptmarket/cli guide ai-product-brief-builder
pnpm dlx @promptmarket/cli setup --help
pnpm dlx @promptmarket/cli add github-pr-reviewfeature init --write stores a version-controlled contract for one AI feature. --path records the files that feature owns. feature attach adds paths to an existing contract. feature adopt records a feature that already exists and does not edit its implementation.
impacted --base lists features affected since that git ref. feature review --base lists contract checks for those features. verify changed --base runs only their Promptfoo suites. feature status checks a contract.
detect fingerprints the current project. doctor compares those versions with the packages each guide was reproduced with. context assembles the lesson, prompt, and guide. --format agent prints that context as markdown. plan prints the implementation plan.
search prints guides, lessons, prompts, and skills. show prints a prompt body. learn prints a short lesson. guides lists tutorials, and guide prints one outline. Commands read the hosted catalog at /api/content/v1. A cache younger than 15 minutes is used immediately. --refresh checks again. --offline uses the bundled snapshot.
setup <agent> --write installs the hosted MCP server and workflow instructions. Choose codex, opencode, cursor, claude-code, or github-copilot (VS Code). Omit --write to preview. --check checks project files; --remove removes the integration. Use --dir to target another project. Existing unrelated settings and instructions are retained. Codex TOML comments and formatting are normalized when its config changes. OpenCode setup updates an existing opencode.jsonc if present.
setup cursor --write --with-context7 retains the optional handoff to Context7’s official Cursor installer. For other agents, configure Context7 with its official client instructions, or use official library documentation directly. PromptMarket does not copy or store the Context7 API key. See MCP setup for native config examples and client verification steps.