agentleFS
Cogni-AI-OUCogni-AI-OU/cogni-ai-agent-skills/report-writer/SKILL.md

report-writer

Skill4 starsChanged 7 months agoMITView on GitHub

Generate comprehensive audit reports, compare current state with baseline definitions, document discrepancies, update documentation files, and track changes via pull requests. You MUST load this skill when asked to generate a comprehensive system audit report.

8 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

8 rules. 0 are common, 8 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 6 edited versions we read keep these.

  • 8

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When required to perform a comprehensive audit of system configuration against a baseline definition.

    line 14
  2. Distinctive:

    When generating status reports that track changes (diffs) since the last execution.

    line 16
  3. Distinctive:

    When investigating a specific failure or bug report rather than conducting a full system audit.

    line 21
  4. Distinctive:

    If the required baseline definitions or historical state data are completely unavailable or undefined.

    line 22
  5. Distinctive:

    Load Previous Data: Check persistent storage or historical logs to load the previous state for comparison.

    line 32
  6. Distinctive:

    Update Baseline: If discrepancies are found, update the baseline definitions to reflect the true current state, preserving established …

    line 37
  7. Distinctive:

    Create Pull Request: If changes were made to the baseline definitions, create a local branch and submit the updates via a pull request with …

    line 38
  8. Distinctive:

    Generate Comprehensive Documentation: Create or update reference documentation files organizing items by appropriate categories, providing …

    line 41

“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Skill: report-writer

<!-- markdownlint-disable MD013 MD023 MD031 MD032 -->

Generates a comprehensive report of available resources or system state by self-inspecting, comparing against expected state definitions, and updating documentation accordingly.

When to Use

  • When required to perform a comprehensive audit of system configuration against a baseline definition.
  • To discover and document orphaned, duplicated, or miscategorized items in a repository.
  • When generating status reports that track changes (diffs) since the last execution.

When Not to Use

  • For simply writing a single documentation file (use docs-writer instead).
  • When investigating a specific failure or bug report rather than conducting a full system audit.
  • If the required baseline definitions or historical state data are completely unavailable or undefined.

Common Pitfalls

  • Unstructured Outputs: Dumping thousands of lines of raw text instead of organizing findings into Markdown tables and clear sections.
  • Ignoring the Baseline: Generating a report of current items without actually diffing them against the expected baseline definitions.
  • Failing to Update Docs: Reporting the discrepancies but forgetting to execute the step that actually updates the reference documentation and creates the PR.

Core Process

  1. Load Previous Data: Check persistent storage or historical logs to load the previous state for comparison.
  2. Load Baseline Definitions: Parse existing configuration or metadata from the repository to extract the expected state and configurations.
  3. Systematic Exploration: Explore EACH individual resource category comprehensively. Document all available items or functions.
  4. Detect Inconsistencies: Actively detect and report any duplicates, miscategorizations, naming issues, or orphaned items.
  5. Compare and Identify Discrepancies: Compare the discovered items with the baseline definitions to identify missing, extra, or modified items.
  6. Update Baseline: If discrepancies are found, update the baseline definitions to reflect the true current state, preserving established structure and sorting.
  7. Create Pull Request: If changes were made to the baseline definitions, create a local branch and submit the updates via a pull request with a descriptive title and body.
  8. Compare with Previous Run: Analyze changes (new/removed/moved items) by comparing current state with the previous snapshot.
  9. Update State Snapshot: Save the newly discovered state to a persistent location for future runs.
  10. Generate Comprehensive Documentation: Create or update reference documentation files organizing items by appropriate categories, providing descriptions and usage information.
  11. Identify Defaults: Identify and document recommended default settings or items with supporting rationale, and update any references to defaults in documentation files.
  12. Publish Report: Format the final output as a well-structured markdown document and publish it (e.g., as a GitHub discussion in an "audits" category).

Core Principles

  • Comprehensive Reporting: The report must systemically explore all categories and document every discovered item.
  • Structured Reporting: Output a markdown report containing Summary, Inconsistency, Comparison, Changes Since Last Report, and Recommended Defaults.

Success Criteria

A successful report execution must satisfy:

  • ✅ Explores EACH of the options
  • ✅ Documents all available options
  • ✅ Detects and reports any inconsistencies across report (duplicates, miscategorization, naming issues)
  • ✅ Compares and identifies discrepancies
  • ✅ Compares with previous changes (new/removed/moved)
  • ✅ Creates/updates documentation files with comprehensive documentation
  • ✅ Identifies and documents recommended default with rationale
  • ✅ Updates default in relevant documentation files
  • ✅ Organizes items by their appropriate categories
  • ✅ Provides clear descriptions and usage information
  • ✅ Is formatted as a well-structured markdown document
  • ✅ Is published as a GitHub discussion category for easy access and reference
  • ✅ Includes change tracking and diff information when previous data exists
  • ✅ Validates resource integrity and reports any detected issues

What to Avoid

  • Generating unstructured or unformatted text output instead of proper markdown tables and sections.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.