KS
Killer-Skills

pr-with-docs — Categories.community

v1.0.0
GitHub

About this Skill

Ideal for Git-based AI Agents requiring streamlined pull request creation with automated documentation updates AI-Workflow Cursor Config is a structured automation system for the Cursor AI code-editor

pmagnomuller pmagnomuller
[0]
[0]
Updated: 3/4/2026

Quality Score

Top 5%
50
Excellent
Based on code quality & docs
Installation
SYS Universal Install (Auto-Detect)
Cursor IDE Windsurf IDE VS Code IDE
> npx killer-skills add pmagnomuller/ai-workflow-cursor-config

Agent Capability Analysis

The pr-with-docs MCP Server by pmagnomuller is an open-source Categories.community integration for Claude and other AI agents, enabling seamless task automation and capability expansion.

Ideal Agent Persona

Ideal for Git-based AI Agents requiring streamlined pull request creation with automated documentation updates

Core Value

Empowers agents to analyze code changes, update AGENTS.md files, and run Git workflows to create pull requests with accurate documentation, utilizing protocols like Git and file formats such as Markdown

Capabilities Granted for pr-with-docs MCP Server

Automating pull request creation with updated documentation
Analyzing code changes for features, bug fixes, and refactors
Updating AGENTS.md files based on detected code modifications

! Prerequisites & Limits

  • Requires Git workflow access
  • Limited to Markdown file updates, specifically AGENTS.md
Project
SKILL.md
4.8 KB
.cursorrules
1.2 KB
package.json
240 B
Ready
UTF-8

# Tags

[No tags]
SKILL.md
Readonly

PR with Docs

When the user asks to create a pull request (e.g. "make a PR with these changes", "create a PR for this", "ready to merge", "that's all for today, I added X"), follow this workflow to analyze changes, update AGENTS.md (and .cursor/rules if relevant), run the Git workflow, and create the PR.

1. Change Analysis

  • Examine all modified, added, and deleted files in the current branch.
  • Identify scope: features, bug fixes, refactors.
  • Detect changes that require AGENTS.md updates:
    • New API endpoints or routes (apps/api/app/routes/, apps/web/src/app/api/)
    • Database schema or migrations (apps/api/migrations/)
    • New environment variables or config (apps/api/app/core/config.py, etc.)
    • Architecture or tech stack changes
    • New development commands or workflows
    • Auth flow changes
    • New third-party integrations or dependencies
    • New component or styling patterns

2. AGENTS.md and Rules Updates

  • Read AGENTS.md (and relevant .cursor/rules/*.mdc) thoroughly.
  • Update sections based on code changes; preserve structure and tone.
  • Add new sections only for entirely new concepts.
  • Ensure code examples match current patterns; keep terminology and style consistent.
  • Do not remove information unless it is obsolete.
  • If changes affect only API or only web, consider updating .cursor/rules/python-api.mdc or .cursor/rules/nextjs-web.mdc as appropriate.

3. Git Workflow

Branch

  • Check branch: git branch --show-current.
  • If on main/master, create a feature branch: <type>/<brief-description> (e.g. feature/add-instagram-scraping, fix/auth-redirect-loop, docs/update-schema-info). Types: feature, fix, docs, refactor, chore.
  • If already on a feature branch, use it.

Stash

  • Check uncommitted changes: git status.
  • If there are uncommitted changes: git stash push -m "Auto-stash before PR creation".
  • Restore stash after operations if one was created.

Commit

  • Stage docs first: git add AGENTS.md (and any .cursor/rules/*.mdc if changed).
  • Commit docs: git commit -m "docs: update AGENTS.md with [specific changes]".
  • Stage rest: git add .
  • Commit code with conventional commits: <type>(<scope>): <description> (e.g. feat(auth): add Google OAuth support).

Publish

  • Push: git push -u origin <branch-name>.
  • Handle push conflicts or errors.

4. Pull Request

  • Use GitHub CLI: gh pr create (or host-appropriate CLI).
  • PR description should include:
    • Summary: 2–3 sentence overview.
    • Changes Made: Bulleted list.
    • Documentation Updates: AGENTS.md (and rules) sections updated.
    • Testing: How changes were tested (if applicable).
    • Breaking Changes: Any breaking changes or migration steps.
    • Related Issues: Links if mentioned.
  • Title in conventional commits style; add labels (feature, bugfix, documentation, etc.) if possible.

When to Update AGENTS.md

ChangeUpdate
New files in apps/api/ (routes, models, services)Repo Layout, Conventions, Key Files
New files in apps/api/migrations/Repo Layout, Database/Migrations
New env vars in codeConventions / README env section
New packagesRepo Layout / Tech stack
New dev commandsWhere to Run Commands
Auth logic changesConventions, Auth
New component/API patternsConventions, Key Files
New third-party integrationsConventions or new subsection

When NOT to Update AGENTS.md

  • Minor bug fixes that do not change architecture.
  • Internal refactors that do not affect usage patterns.
  • Styling tweaks following existing patterns.
  • Test file additions (unless they introduce new testing patterns).

Quality Before PR

  1. AGENTS.md is valid Markdown with no syntax errors.
  2. Code examples in AGENTS.md use correct syntax.
  3. All Git operations completed successfully.
  4. Commits follow conventional commits format.
  5. PR description is accurate and complete.

Error Handling

  • If Git fails: clear error message and suggested fix.
  • If AGENTS.md updates are unclear: ask the user.
  • If PR creation fails: give the user the PR description for manual creation.
  • Always clean up: restore stash, return to original branch if needed.

Communication

  • Give a short status at each phase.
  • Say which AGENTS.md (and rules) sections you are updating and why.
  • Show commit messages before committing and PR description before creating.
  • Ask for confirmation if changes are ambiguous or potentially breaking.
  • Proactively mention related docs that could be updated.

Output Phases

  1. Analysis: "Analyzing changes in current branch..."
  2. Documentation: "Updating AGENTS.md sections: [list]..."
  3. Git: "Creating branch / committing changes..."
  4. PR: "Creating pull request..."
  5. Summary: PR URL and brief summary of actions.

Goal: merge-ready PRs with documentation in sync with the codebase.

Related Skills

Looking for an alternative to pr-with-docs or building a Categories.community AI Agent? Explore these related open-source MCP Servers.

View All

widget-generator

Logo of f
f

widget-generator is an open-source AI agent skill for creating widget plugins that are injected into prompt feeds on prompts.chat. It supports two rendering modes: standard prompt widgets using default PromptCard styling and custom render widgets built as full React components.

149.6k
0
Design

chat-sdk

Logo of lobehub
lobehub

chat-sdk is a unified TypeScript SDK for building chat bots across multiple platforms, providing a single interface for deploying bot logic.

73.0k
0
Communication

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
Communication

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
Communication