agentleFS
po4ykapo4yka/llm-wiki-skills/skills/llm-wiki-github-action/SKILL.md

llm-wiki-github-action

Skill6 starsChanged 5 months agoMITView on GitHub

Configure GitHub Actions for LLM-Wiki maintenance. Use when the user wants scheduled wiki lint reports, PR-based documentation updates, Agent Skills validation, provenance checks, or safe repo-docs maintenance without direct writes to main.

The file

We split this skill into the rules it gives an agent

11 rules. About 0 are common, 10 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈10

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Create safe GitHub Actions workflows for LLM-Wiki validation and maintenance.

    line 16
  2. Distinctive:

    Use these local templates when available in a full repository checkout.

    line 28
  3. Distinctive:

    Default to report-only or PR-based updates.

    line 55
  4. Very specific:

    Start with manual and pull request triggers.

    line 59
  5. Distinctive:

    Use the least privilege required by the chosen mode.

    line 69
  6. Distinctive:

    commit reports or generated docs.

    line 88
  7. Distinctive:

    When the user asks for ready-made workflow files, copy only the relevant starters:

    line 95
  8. Distinctive:

    Do not grant broad write permissions without justification.

    line 124
  9. Distinctive:

    Do not configure direct pushes to main for generated knowledge.

    line 125
  10. Distinctive:

    Do not run external model calls on private content without explicit approval.

    line 126
  11. Distinctive:

    Do not hide generated changes outside pull-request review.

    line 127

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “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

LLM-Wiki GitHub Action

Goal

Create safe GitHub Actions workflows for LLM-Wiki validation and maintenance.

When to use

  • The user wants a scheduled wiki-lint or wiki-health report published as a workflow artifact.
  • The user wants PR-based automation for generated docs or maintenance changes and wants to avoid direct pushes to main.
  • The user needs Agent Skills frontmatter validation (or other repo-specific validation scripts) wired into CI.
  • The user wants to add or enable one of the starter evals, ingestion, publish, or security workflows.
  • The user is deciding what GitHub Actions permissions or triggers a wiki-maintenance job should have.

Starter templates

Use these local templates when available in a full repository checkout. In a single-skill install, recreate the same workflow shapes from this list:

  • llm-wiki-evals.github-actions.yml for retrieval, grounding, promptfoo and wiki-health checks.
  • llm-wiki-ingestion.github-actions.yml for source manifests, ingestion fidelity, parser security and retrieval smoke checks.
  • llm-wiki-publish.github-actions.yml for export profile validation, redaction/security checks, artifacts and optional Pages publish.
  • llm-wiki-security.github-actions.yml for secrets, dependency, OSV, Semgrep, red-team and export-policy checks.

The starter workflow schedules are commented out by default. Enable cron only after workflow_dispatch has run successfully and the repository owner accepts the recurring cost and external calls.

Inputs

  • Repository path.
  • Desired automation: validation, lint, scheduled report, maintenance PR, skill validation.
  • Permission constraints.
  • Whether Actions should write files, open PRs, or only upload reports.

Procedure

1. Choose automation mode

ModeUse when
report-onlyEarly adoption or sensitive repos.
artifact reportReports should not change the repo.
PR-based updateGenerated output needs human review.
validationValidate schemas, links, skills and frontmatter.

Default to report-only or PR-based updates. Avoid direct pushes to main.

2. Define triggers

Start with manual and pull request triggers. Add a schedule only after the first manual run succeeds. Keep copied starter schedule: blocks commented until that happens.

on:
  pull_request:
  workflow_dispatch:

3. Set permissions narrowly

Use the least privilege required by the chosen mode. Read-only jobs should not request write permissions. PR-creation jobs should be clearly separated from validation jobs.

4. Add validation jobs

Possible jobs:

  • Agent Skills frontmatter validation for every skills/*/SKILL.md;
  • repository-specific validation scripts when the target repo already defines them;
  • frontmatter schema validation;
  • broken link scan;
  • wiki-lint report generation;
  • stale page report;
  • provenance gap report.

5. Add PR workflow only when safe

For PR-based updates:

  • create a branch;
  • commit reports or generated docs;
  • open PR with clear summary;
  • request review from owners;
  • never merge automatically.

6. Copy starter workflows deliberately

When the user asks for ready-made workflow files, copy only the relevant starters:

NeedStarter
evals and red-teamllm-wiki-evals.github-actions.yml
ingestion pipeline checksllm-wiki-ingestion.github-actions.yml
publish/export pipelinellm-wiki-publish.github-actions.yml
security scansllm-wiki-security.github-actions.yml

Rename each copied file to .github/workflows/<purpose>.yml, replace placeholder commands, and keep permissions minimal. Re-verify that the pinned action versions and commands in a copied starter are still current for the target repository's toolchain before enabling its trigger.

Output

## GitHub Actions plan

## Workflow files created or proposed

## Permissions

## Triggers

## Safety model

## Manual verification steps

Safety gates

  • Do not grant broad write permissions without justification.
  • Do not configure direct pushes to main for generated knowledge.
  • Do not run external model calls on private content without explicit approval.
  • Do not hide generated changes outside pull-request review.

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.