babarot/gh-infra/file-manifest

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Complete YAML schema reference for File and FileSet resources. Use when writing manifests to manage files (CODEOWNERS, LICENSE, CI workflows, etc.) in one or more repositories, including templating, patches, reconcile modes, delivery method, and import-into behavior.

Install

npx vskill@latest install babarot/gh-infra/file-manifest

SKILL.md

File Manifest Reference

Use this skill for file-distribution manifests. Keep the main body small and open references only when the request needs them.

Core Rules

  • File is parsed as a one-repo FileSet internally, but you still author the simpler shape
  • Each file entry requires path and exactly one of content or source
  • via defaults to push
  • reconcile defaults to additive
  • patches are applied after template expansion

File

yaml
apiVersion: gh-infra/v1
kind: File
metadata:
owner: my-org
name: my-repo
spec:
files:
- path: .github/CODEOWNERS
content: |
* @username
- path: LICENSE
source: ./templates/LICENSE
via: push
commit_message: "ci: sync managed files"

Key fields:

  • files: required
  • via: push or pull_request
  • commit_message, branch, pr_title, pr_body: delivery controls. commit_message, pr_title, pr_body accept <% .Repo.Name %>, <% .Repo.FullName %>, <% .Source.URL %> (env GH_INFRA_SOURCE_URL, set in CI); see references/reconcile-and-delivery.md
  • files[].vars: template variables
  • files[].patches: unified diff patches
  • files[].reconcile: additive, authoritative, create_only
  • files[].executable: true for mode 100755, false for 100644, omitted keeps the current mode

Read these references as needed:

FileSet

Use FileSet to distribute shared files to many repositories.

yaml
apiVersion: gh-infra/v1
kind: FileSet
metadata:
owner: my-org
name: shared-ci # optional; names the FileSet, does not select repos
spec:
repositories:
- gomi # simple string
- enhancd
- name: gh-infra # struct with overrides
overrides:
- path: .github/CODEOWNERS
content: |
* @username @co-maintainer
files:
- path: .github/CODEOWNERS
content: |
* @username
- path: LICENSE
source: ./templates/LICENSE
via: push

Each repository entry is either:

  • a simple repo name string
  • an object with name and optional overrides

Overrides replace the matching base entry by path for that repository only.

High-Value Gotchas

  • Prefer patch files over inline patch blocks for files with tabs
  • Patch context must match template-expanded content, not raw template source
  • github:// sources are import hard-skips because there is no local write target
  • Shared local source files in FileSet often default to the patch write action in import --into
  • create_only affects apply behavior, but import can still update the local master template

Verification

bash
gh infra validate <path>
gh infra plan <path>

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/babarot/gh-infra/file-manifest/badge)](https://verified-skill.com/skills/babarot/gh-infra/file-manifest)

Something wrong with this skill or its page? Tell us.