Language
General / language-agnostic
AI instructions for General / language-agnostic projects — coding rules, agent setup files, and prompts, organized by proficiency.
121 published items · Filter in browse
Incident Commander Copilot
System prompt. System prompt for an assistant that supports a human incident commander: tracks state, drafts status updates, proposes next actions with risk, and never executes changes itself.
Data Extraction Agent (Strict JSON Only)
System prompt. System prompt for an extraction agent inside a pipeline: reads input documents, emits one JSON object that validates against a given schema, and signals failure in-band instead of writing prose.
Customer Support Agent for a SaaS Product
System prompt. System prompt for a tier-1 SaaS support agent that resolves issues from documented knowledge, uses account tools carefully, and escalates with a complete handoff when it cannot resolve.
Code Review Bot for GitHub Pull Requests
System prompt. System prompt for an automated PR reviewer that posts a small number of high-confidence, line-anchored comments on correctness and security, and stays silent on style unless asked.
UX/UI developer persona (awesome-chatgpt-prompts)
System prompt. Persona prompt: propose user-experience improvements, prototypes, and design tests for a described app or site.
Tech writer persona (awesome-chatgpt-prompts)
System prompt. Persona prompt: turn a list of basic app steps into an engaging how-to article, marking where screenshots belong.
Cyber security specialist persona (awesome-chatgpt-prompts)
System prompt. Persona prompt: given how data is stored and shared, propose protection strategies such as encryption, firewalls, and suspicious-activity policies.
Code review assistant persona (awesome-chatgpt-prompts)
System prompt. Persona prompt: structured code review covering readability, bugs, performance, and standards, with a fixed three-part response format.
TODO and FIXME sweep
Claude Code slash command (.claude/commands/todo-sweep.md). Finds every TODO, FIXME, HACK, and XXX comment, dates and attributes each via git blame, triages them into fix-now / ticket / delete, and offers to act.
Review the current diff
Claude Code slash command (.claude/commands/review-diff.md). Reviews uncommitted or branch changes for correctness, edge cases, tests, and maintainability, returning prioritized findings with file:line and fixes.
Refactor safely
Claude Code slash command (.claude/commands/refactor-safely.md). Behavior-preserving refactor of a named target with a test baseline, small verified steps, and a stop-and-revert rule when anything goes red.
Open a pull request
Claude Code slash command (.claude/commands/pr.md). Pushes the branch if needed, generates a PR title and body from the diff against the base branch, and opens the PR with gh after confirmation.
Performance check
Claude Code slash command (.claude/commands/perf-check.md). Measures a given command three times, profiles it with the stack's native profiler, and reports ranked hotspots with evidence-backed recommendations.
Onboard me to this repo
Claude Code slash command (.claude/commands/onboard-me.md). Time-boxed tour of the current repository (shape, commands, entry points, data model, conventions, hotspots) written to a notes file and summarized in the reply.
Fix a GitHub issue by number
Claude Code slash command (.claude/commands/fix-issue.md). Fetches a GitHub issue with gh, reproduces it, implements a minimal fix with a regression test on a new branch, and reports without pushing.
Explain a file
Claude Code slash command (.claude/commands/explain-file.md). Explains a source file's purpose, public surface, control flow, dependencies, and gotchas, grounded in the file and its callers.
Commit staged changes
Claude Code slash command (.claude/commands/commit.md). Writes a Conventional Commit message from the staged diff, matching repo history style, and commits after showing it.
Update CHANGELOG from recent commits
Claude Code slash command (.claude/commands/changelog.md). Collects commits since the last tag, groups them Keep-a-Changelog style in user-facing language, and inserts the section into CHANGELOG.md.
Write an architecture decision record
Claude Code slash command (.claude/commands/adr.md). Creates a numbered ADR (context, options considered, decision, consequences) in docs/adr/ from a one-line topic, grounded in the current codebase.
Add tests for a file
Claude Code slash command (.claude/commands/add-tests.md). Writes tests for a given file or function using the project's existing framework and conventions, runs them, and reports what remains uncovered.
UX copy editor
Claude Code subagent (.claude/agents/ux-copy-editor.md). Subagent that finds user-facing strings in UI code and edits them for clarity, consistency, tone, and accessibility, returning a before/after table and applying approved changes.
Test writer
Claude Code subagent (.claude/agents/test-writer.md). Subagent that discovers the project's test runner and conventions, writes tests for a named module or behavior, runs them, and reports coverage gaps it could not close.
TDD orchestrator subagent (wshobson)
Claude Code subagent (.claude/agents/tdd-orchestrator.md). Claude Code subagent that enforces red-green-refactor TDD, coordinates multi-agent test workflows and tracks test quality metrics.
Security auditor
Claude Code subagent (.claude/agents/security-auditor.md). Read-only subagent that traces untrusted input to dangerous sinks across a diff or module and reports severity-rated vulnerabilities with fixes.