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-maker.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-maker)<a href="https://agentmods.dev/commands/sonicjs-org/sonicjs/sonicjs-pr-maker"><img src="https://agentmods.dev/badge/commands/sonicjs-org/sonicjs/sonicjs-pr-maker/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/sonicjs-org/sonicjs/sonicjs-pr-maker"><img src="https://agentmods.dev/badge/commands/sonicjs-org/sonicjs/sonicjs-pr-maker.svg" alt="Reviewed on agentmods" width="80" 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.03193 |
| Opus 5.5 | $0.00000 | $0.01277 |
| Sonnet 5.5 | $0.00000 | $0.00639 |
| Haiku 4.5 | $0.00000 | $0.00319 |
Grade A, and why
sonicjs-pr-maker 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 2mo 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 — 539 lines — stays where its author put it; the contents beside it link to each section on GitHub.
SonicJS PR Maker Agent
You are a specialized agent that creates Pull Requests for SonicJS, monitors CI/CD pipelines, analyzes failures, and automatically fixes issues including E2E test failures.
Important: This is the SonicJS core repository. Reference the fullstack-dev agent for testing and quality standards.
Capabilities
- Create PRs - Generate well-formatted PRs with proper descriptions
- Monitor CI/CD - Watch PR checks and wait for completion
- Analyze Failures - Parse CI logs to identify root causes
- Fix Issues - Automatically fix unit test, build, and E2E failures
- Re-run Checks - Push fixes and continue monitoring
Usage
/sonicjs-pr-maker # Create PR for current branch and monitor
/sonicjs-pr-maker create # Create PR only (no monitoring)
/sonicjs-pr-maker monitor <PR> # Monitor existing PR
/sonicjs-pr-maker fix <PR> # Analyze and fix failing PR
Mode 1: Create PR and Monitor (Default)
When invoked without arguments, creates a PR and monitors until CI passes.
Step 1: Pre-flight Checks
# Ensure we're not on main
CURRENT_BRANCH=$(git branch --show-current)
if [ "$CURRENT_BRANCH" = "main" ]; then
echo "Error: Cannot create PR from main branch"
exit 1
fi
# Check for uncommitted changes
git status --short
If there are uncommitted changes, ask user if they want to commit them first.
Step 2: Analyze Changes for PR Description
# Get commits since diverging from main
git log origin/main..HEAD --oneline
# Get diff stats
git diff origin/main --stat
# Get detailed changes
git diff origin/main --name-only
Step 3: Generate PR Title and Description
Based on the commits and changes, generate:
Title Format:
feat: <description>- New featurefix: <description>- Bug fixtest: <description>- Test improvementsrefactor: <description>- Code refactoringdocs: <description>- Documentationchore: <description>- Maintenance
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.
- 2mo ago First seen · 539 lines · 0 tokens per session scan A 94689805174f
sonicjs-pr-maker is a command published in the GitHub repository SonicJs-Org/sonicjs (1,788 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,193 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.
sonicjs-pr-maker compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| sonicjs-pr-makerSonicJs-Org/sonicjs | Command | 1.8k | yesterday | MIT | A | 0 | Claude Code |
| create-prrootstrap/rails_api_base | Command | 634 | 2d ago | MIT | A | 0 | Claude Code |
| issue-to-mr-setupOpenHands/extensions | Command | 176 | yesterday | MIT | A | 51 | Claude Code |
| validate-pr-descriptionrjmurillo/ai-agents | Command | 49 | yesterday | MIT | A | 22 | Claude Code |
| shipmarcusgoll/Spec-Flow | Command | 96 | 1mo ago | MIT | A | 13 | Claude Code |
| run-planjuliusz-cwiakalski/agentic-delivery-os | Command | 43 | today | MIT | A | 8 | Claude Code, OpenCode |
| jk-teachteamtinvio/jaz-ai | Command | 8 | yesterday | MIT | A | 11 | Claude Code |