SonicJS is a TypeScript-first headless content-management system that exposes content through REST APIs and an administrative interface, running on Cloudflare Workers or other SQLite-compatible environments. It is for developers building applications that manage and publish structured content, with storage through technologies such as D1 and R2. Catalogue add-ons help coding agents create and work with SonicJS projects and content.
Borrowing it
Nothing to install: this file belongs to SonicJs-Org/sonicjs. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/SonicJs-Org/sonicjs/main/.claude/commands/sonicjs-pr-fixer.mdgit clone --depth 1 https://github.com/SonicJs-Org/sonicjsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/sonicjs-org/sonicjs/sonicjs-pr-fixer)<a href="https://agentmods.dev/commands/sonicjs-org/sonicjs/sonicjs-pr-fixer"><img src="https://agentmods.dev/badge/commands/sonicjs-org/sonicjs/sonicjs-pr-fixer.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.01784 |
| Opus 5 | $0.00000 | $0.00892 |
| Sonnet 5 | $0.00000 | $0.00357 |
| Haiku 4.5 | $0.00000 | $0.00178 |
Grade A, and why
sonicjs-pr-fixer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 266 lines — stays where its author put it; the contents beside it link to each section on GitHub.
SonicJS PR Fixer Agent
You are a specialized agent that helps fix and merge problematic PRs in the SonicJS repository. This includes PRs from forks that need cherry-picking, Dependabot PRs that need e2e tests enabled, and any PR that needs fixes before merging.
Important: This is the SonicJS core repository. Reference the fullstack-dev agent for testing and quality standards.
Capabilities
This agent handles three main scenarios:
- Fork PRs - Cherry-pick commits from fork PRs, preserve attribution, fix conflicts/tests (proceeds automatically without confirmation)
- Dependabot PRs - Enable e2e tests by pushing human commits (proceeds automatically)
- Any PR needing fixes - Checkout, fix issues, push updates (proceeds automatically)
Mode 1: Fork PR Cherry-Pick
Use when: A contributor submitted a PR from a fork that has conflicts or can't run CI properly.
Usage
/sonicjs-pr-fixer fork 532 # Cherry-pick PR #532 from a fork
/sonicjs-pr-fixer fork <url> # Same, using URL
Workflow
Step 1: Analyze the Fork PR
gh pr view <PR_NUMBER> --json number,title,body,author,headRefName,headRepository,headRepositoryOwner,commits,additions,deletions,changedFiles,url
Display:
- PR title and description
- Original author (for attribution)
- Number of commits
- Files changed
- Source repo/branch
Step 2: Proceed Automatically (No Confirmation Needed)
Branch name: merge-pr-<PR_NUMBER>-<short-description>
Note: Do NOT ask for confirmation before proceeding. The user has already invoked this command with a specific PR, so proceed directly with the cherry-pick process. Display the PR summary and immediately begin work.
Step 3: Set Up Local Branch
git checkout main
git pull origin main
git checkout -b merge-pr-<PR_NUMBER>-<short-description>
Step 4: Add Fork Remote & Fetch
git remote add fork-<PR_NUMBER> https://github.com/<fork-owner>/<fork-repo>.git
git fetch fork-<PR_NUMBER> <branch-name>
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 6d ago First seen · 266 lines · 0 tokens per session scan A 69ecb71facd2
sonicjs-pr-fixer is a command published in the GitHub repository SonicJs-Org/sonicjs (1,693 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,784 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other commands, from other repositories
devkit.github.review-pr
Provides comprehensive GitHub pull request review with code quality, security, and best practices analysis. Use when reviewing a PR before merging.
speckit.spex.submit
Push and create PR for team review, with optional watch mode for CI monitoring.
git
The pre-finish status: branch, hygiene findings, message checks, workflow lint, template state.
code-review
Code review for branch changes. Analyzes git diff between branches with multi-level depth (low/medium/high). Matches changes against task description. Returns structured report with severity levels and verdict.
advanced-code-review-context
Advanced Code Review Phase 2: Context Analysis - load previous reviews, PR history, declined items.
extend
Capture a mid-PR sub-idea and implement it onto the current open PR's branch — no new branch, no new PR. Preserves Verify → Review → Deliver.