Skip to content
Skills Library
AI & agents · Writing

agent-knowledge-base-diff-proposal-process

/agent-knowledge-base-diff-proposal-process

Use this skill when proposing structured pull requests, documentation updates, and knowledge base diffs based on newly discovered learnings.

Licence
MIT
Last repository change
28.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 28.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Use this skill when proposing structured pull requests, documentation updates, and knowledge base diffs based on newly discovered learnings.

Original author description

Use this skill when proposing structured pull requests, documentation updates, and knowledge base diffs based on newly discovered learnings.

How it works

  1. When to use
  2. Core principles
  3. Step-by-step workflow
  4. Behavioral guidelines & dialogue examples
  5. Common mistakes & pitfalls
  6. Verification checklist
  7. Related skills
Original SKILL.md headings · 52 lines, 414 words
SKILL.md preview
---
name: agent-knowledge-base-diff-proposal-process
description: Use this skill when proposing structured pull requests, documentation updates, and knowledge base diffs based on newly discovered learnings.
---
# Agent Knowledge Base Diff & Proposal Process

## When to use
Use this skill when discovering out-of-date READMEs, obsolete API documentation, undocumented deployment caveats, or new troubleshooting patterns during task execution.

## Core principles
- **Close the Documentation Loop**: When an agent struggles for 30 minutes because a README omitted a required environment variable, the job is not finished until the README is corrected.
- **Surgical, Minimal Diffs**: Propose concise, targeted documentation patches rather than sweeping rewrites that introduce formatting churn.
- **Human Review Before Committing**: Propose documentation diffs as clear PRs or staged proposals for team approval; never silently overwrite team knowledge bases.
- **Context-Rich Rationale**: Explain *why* the documentation change is needed by citing the specific failure or friction experienced during execution.

## Step-by-step workflow
1. **Identify documentation discrepancy**: Notice where code behavior diverged from written project documentation.
2. **Draft minimal surgical patch**: Formulate the exact lines to add, modify, or delete in the target markdown or wiki file.
3. **Generate unified diff format**: Create a clean, reviewable diff with clear file path headers.
4. **Provide operational context**: State the exact error or incident that demonstrated the documentation gap.
5. **Present proposal to user/team**: Share the diff and offer to apply it upon user confirmation.

## Behavioral guidelines & dialogue examples
- **Dialogue Example (Proposing Documentation Fix)**:
  - *Context*: Agent discovered that running `docker compose up` fails unless `REDIS_PASSWORD` is defined in `.env`.
  - *User Proposal*:
    "While setting up the development cluster, I encountered a startup crash because `docker-compose.yml` requires `REDIS_PASSWORD`, which was not documented in `README.md`.
    
    I have prepared this surgical patch to keep future engineers from hitting this stumbling block:
    ```diff
    --- a/README.md
    +++ b/README.md
    @@ -24,4 +24,5 @@
     cp .env.example .env
    +# Ensure REDIS_PASSWORD is set in .env before starting services
     docker compose up -d
    ```
    Would you like me to commit this update to a documentation branch?"

## Common mistakes & pitfalls
- Overwriting entire documentation pages with generic AI-generated summaries that delete nuanced tribal knowledge.
- Silently applying documentation changes without notifying team maintainers.
- Leaving documentation broken after spending hours figuring out the workaround.

## Verification checklist
- [ ] Proposed diff is surgical, targeted, and preserves existing style conventions.
- [ ] Context explains the specific operational friction that revealed the gap.
- [ ] Changes are presented as a proposal awaiting human approval.
- [ ] Formatting and markdown syntax are verified.

## Related skills
- agent-post-task-reflection-lessons-learned
- agent-skill-gap-detection-proposal
- documentation-communication-and-career-basics
- report-and-technical-writing

Versions

The database has no other skills named agent-knowledge-base-diff-proposal-process.

Database snapshot: 13.11.2026 · package version f554c1fc219b (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100skill-development
    Create and contribute skills to the communal knowledge base. Use when creating new skills, updating existing skills, or contributing learnings back to the repository.
  • 100dify-knowledge-base-search
    Dify dataset retrieve API for knowledge base chunk search/testing. Use when integrating or debugging Dify knowledge base retrieval requests, retrieval_model options, or response shaping.
  • 100aps-filesystem-agent
    Use this skill whenever an APS (production scheduling) agent needs to interact with a local filesystem-based knowledge base. Triggers include: reading or searching APS rules, loading client memory or shop floor configurations, proposing new rules to the knowledge base, updating…
  • 85code-review
    Review a Git diff against repository standards and its originating requirements. Use for pull requests, branches, work-in-progress changes, or changes since a commit, tag, or merge-base.
  • 100knowledge-research
    This skill should be used when the user asks to "search knowledge", "what do we know about X?", "look up prior decisions on X", "find conventions for X", or "research the knowledge base".
  • 100agent-skill-gap-detection-proposal
    Use this skill when identifying missing domain capabilities, missing CLI tools, or knowledge deficits during agent task execution.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.