# Q Setup Approve

> Generate a custom /approve skill for your project. Ensures your source control, CI, and PR conventions are configured via /q-which-tools, then writes a tailored skill that verifies checks and merges approved PRs.

- **Type:** Skill
- **Install:** `agentstack add skill-jlong-quiddity-q-setup-approve`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [jlong](https://agentstack.voostack.com/s/jlong)
- **Installs:** 0
- **Category:** [Developer Tools](https://agentstack.voostack.com/c/developer-tools)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [jlong](https://github.com/jlong)
- **Source:** https://github.com/jlong/quiddity/tree/main/skills/q-setup-approve

## Install

```sh
agentstack add skill-jlong-quiddity-q-setup-approve
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Setup /approve

You are generating a custom `/approve` skill for the user's project.

## Required categories

This skill needs the following tools.json categories: **source-control**,
**ci**, **pr**

## Process

1. **Ensure tools are configured.** Check if `.quiddity/tools.json` exists and
   contains the `source-control`, `ci`, and `pr` categories. For any missing
   categories, run `/q-which-tools` with those categories (e.g.,
   `/q-which-tools source-control ci pr`).

2. **Read the configuration.** Load all available Quiddity context:
   - `.quiddity/project.md` — project structure, CI/CD configuration
   - `.quiddity/process.md` — merge strategy, review requirements,
     post-merge workflow
   - `.quiddity/tools.json` — extract the `source-control`, `ci`, and
     `pr` categories

4. **Ask skill-specific questions** not covered by tools.json:
   - Should the skill accept a PR number as an argument? (e.g., `/approve 123`)
     Or default to the current branch's PR?
   - What should happen after merge? (update issue status, notify, etc.)
   - Should it verify that all review comments are resolved?
   - Any post-merge cleanup steps? (delete local branch, pull latest, etc.)

5. **Generate the skill.** Write a complete `/approve` SKILL.md to the
   project's skills directory. The generated skill should:
   - Accept an optional PR number argument (defaulting to current branch's PR)
   - Verify all CI checks pass
   - Verify no unresolved review comments (if configured)
   - Verify required approvals are met
   - Perform the merge using the configured strategy (squash, merge, rebase)
   - Update the linked issue status (e.g., move to "Done" or "Shipped")
   - Clean up the branch if configured
   - Report clearly if anything blocks the merge
   - Reference `.quiddity/tools.json` for all tool-specific configuration

6. **Show the generated skill** to the user and ask for confirmation before
   finalizing.

## Generated skill template

The generated `/approve` skill should follow this general structure, adapted
to the user's specific tools:

```markdown
---
name: approve
description: Verify checks and merge an approved PR.
argument-hint: "[pr-number]"
---

# /approve

[Instructions tailored to the user's source control, CI checks,
merge strategy, and post-merge workflow.]
```

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [jlong](https://github.com/jlong)
- **Source:** [jlong/quiddity](https://github.com/jlong/quiddity)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-jlong-quiddity-q-setup-approve
- Seller: https://agentstack.voostack.com/s/jlong
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
