agentleFS
leroyguillaumeleroyguillaume/skills/project-metadata-conventions/SKILL.md

project-metadata-conventions

Skill7 starsChanged 4 days agoMITView on GitHub

Author/maintainer and repository/URL fields in manifests. TRIGGER when: setting author or repository fields in any manifest (`Cargo.toml`, `pyproject.toml`, `package.json`, `Chart.yaml`, …) or README clone instructions; scaffolding a project's metadata; user asks where those values come from. SKIP when: no such field is being set.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    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:

    Leave it alone, and say nothing: Not in a review, not in an audit, not as a "worth checking" aside.

    line 36

≈ “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

Project metadata (author / repository)

  • Derive author and repository metadata from git config, never invent it. When you set or update author/maintainer or repository/URL fields in any manifest (Cargo.toml, pyproject.toml, package.json, Chart.yaml, README.md clone instructions, …), read the values from git:
    • author: git config user.name + git config user.email → Name <email>.
    • repository: git config --get remote.origin.url, normalised to the https:// form (e.g. git@github.com:owner/repo.git → https://github.com/owner/repo).
  • If a needed value is not configured (empty user.name / user.email, or no origin remote), ask the user for it — do not fall back to a guessed or placeholder value.

A field that is already filled in is already correct

This rule is about writing metadata, never about auditing it. It applies when a field is empty, or when you are the one setting it. A manifest that already carries an author, a maintainer or a repository URL has had a human decide it, and that decision needs no justification.

So, when authors / maintainers / repository already holds a real value:

  • Leave it alone, and say nothing. Not in a review, not in an audit, not as a "worth checking" aside. A project has contributors, changes hands, and is routinely authored by someone other than whoever is sitting at the keyboard today — git config user.name is who is committing, not who owns the work.
  • A mismatch with git config is not a finding. It is the normal state of any repository with more than one person in it. Never report it, never "flag it lightly", never ask about it in passing.
  • Only touch it when the user asks, or when the same change is already rewriting that field for another reason.

An empty field, a placeholder (Your Name, example.com, a template's leftovers), or a URL that does not resolve to the real remote is a different matter — those are genuinely unset, and the rule above applies.

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.