From ciao
Create a new Ciao QA playbook from a local markdown brief plus acceptance criteria. Use when the user has written a test scenario locally and wants it stored in Ciao for repeated runs.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ciao:ciao-playbook-createThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Packages a local markdown brief + criteria into a stored playbook. Once
Packages a local markdown brief + criteria into a stored playbook. Once
created, the playbook can be run from the QA dashboard or via
/ciao-playbook-run.
If the user has these in local files, read them with the Read tool.
source "$CLAUDE_SKILL_DIR/../../lib/ciao-api.sh"
PROJECT_ID="${PROJECT_ID:-}" # optional
PAYLOAD="$(jq -n \
--arg name "$NAME" \
--arg body "$BODY" \
--arg criteria "$CRITERIA" \
--arg pid "$PROJECT_ID" \
'{
name: $name,
body: $body,
criteria: (if $criteria == "" then null else $criteria end),
project_id: (if $pid == "" then null else $pid end)
} | with_entries(select(.value != null))')"
RESPONSE="$(ciao_api create_playbook "$PAYLOAD")"
Returns the new playbook (id, name, etc.). Report the id and a browser
link, resolving the workspace slug from ciao_workspace_slug:
WS_SLUG="$(ciao_workspace_slug)"
PB_ID="$(echo "$RESPONSE" | jq -r .playbook.id)"
LINK="https://app.ciao.dev/w/$WS_SLUG/qa/playbooks/$PB_ID"
Ask the user one quick confirmation: "I'm about to create the playbook '' in . OK?" Playbook creation writes a durable row; better to confirm than to litter the dashboard with drafts.
If the user wants to test the playbook before saving, suggest they kick
off a one-off subagent first (/ciao-handoff) with the brief, see how
the agent interprets it, then come back to create the playbook once they
like the wording.
403 Missing required scope: playbooks:write → re-mint the PAT400 mode_id failures → the default qa-buddy mode should always
exist; if not, the workspace is misconfigured403 create_playbook requires a personal access token → the caller is
using an integration api_read key, not a PAT. Mint a PAT instead.npx claudepluginhub desygner/cc-marketplace --plugin ciaoProvides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.