agentleFS
martincjarvismartincjarvis/development-skills/skills/dotnet-open-source-first-governance/SKILL.md

dotnet-open-source-first-governance

Skill4 starsChanged 10 months agoMITView on GitHub

Use when selecting or reviewing .NET dependencies - enforce open-source-first choices with live license revalidation and review-time gating.

The file

We split this skill into the rules it gives an agent

10 rules. About 0 are common, 10 are distinctive, and 0 are 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.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Prefer open-source: Default to OSS libraries over proprietary or source-available alternatives

    line 25
  2. Distinctive:

    Perform live web search: Search for current licensing status (not cached/historical data)

    line 26
  3. Distinctive:

    Verify authoritative sources: Check project homepage, LICENSE file, release notes, issue tracker

    line 27
  4. Distinctive:

    Confirm exact version license: Verify licensing for the specific version being adopted

    line 28
  5. Distinctive:

    Prefer established OSS libraries over bespoke scripts/frameworks.

    line 39
  6. Distinctive:

    no recent licensing change introduces:

    line 50
  7. Distinctive:

    Verify licensing for the exact version being adopted.

    line 67
  8. Distinctive:

    If pinning to an older OSS version, document:

    line 68
  9. Distinctive:

    Default outcome if missing: reject or defer.

    line 87
  10. Distinctive:

    When encountering a new library, an upgrade, or a dependency review, the agent must:

    line 91

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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

Overview

Enforce open-source-first dependency selection with mandatory live license revalidation at review time. Historical OSS status is insufficient; verify current licensing via web search for every dependency selection, upgrade, or review to catch recent licensing changes.

When to Use

  • Selecting a new library or tool dependency
  • Upgrading any dependency (minor or major version)
  • Performing PR, architecture, security, or dependency reviews
  • Evaluating alternatives for an existing proprietary or source-available component
  • Auditing existing dependencies for license compliance

Core Workflow

  1. Prefer open-source: Default to OSS libraries over proprietary or source-available alternatives
  2. Perform live web search: Search for current licensing status (not cached/historical data)
  3. Verify authoritative sources: Check project homepage, LICENSE file, release notes, issue tracker
  4. Confirm exact version license: Verify licensing for the specific version being adopted
  5. Check transitive dependencies: Spot-check critical transitives for license changes
  6. Document verification: Record license name, verification source(s), and verification date (UTC)
  7. Gate on missing verification: Reject or defer proposals without complete license documentation
  8. Flag ambiguity: Mark dependency unapproved if licensing cannot be verified confidently

Core

Policy (non-negotiable)

  • Strongly prefer open-source tooling and libraries.
  • Prefer established OSS libraries over bespoke scripts/frameworks.
  • OSS status is time-sensitive and must be revalidated.

Load: checklists

Mandatory: live license verification (web search)

For every dependency selection/upgrade/review, perform a live web search to confirm:

  • the component is still open source today,
  • the current license (and any dual-license terms) is acceptable,
  • no recent licensing change introduces:
    • source-available restrictions,
    • field-of-use or non-commercial limitations,
    • delayed-open clauses,
    • copyleft obligations conflicting with the intended distribution model.

Historical OSS status is insufficient.

Authoritative sources to check (minimum)

  • Project homepage / official docs
  • Source repository LICENSE file (and recent commits)
  • Release notes / official announcements
  • Issue tracker discussions relating to licensing changes

Version-specific licensing

  • Verify licensing for the exact version being adopted.
  • If pinning to an older OSS version, document:
    • rationale,
    • maintenance plan,
    • security posture and upgrade strategy.

Transitive dependencies

  • Spot-check critical transitive dependencies for license changes (especially build-time tools and generators).

Load: enforcement

Hard gate (required)

A dependency proposal/PR/ADR is incomplete without:

  • License name
  • Verification source(s)
  • Verification date (UTC)

Default outcome if missing: reject or defer.

Agent rule: automatic revalidation trigger

When encountering a new library, an upgrade, or a dependency review, the agent must:

  1. perform a live web search for current licensing,
  2. flag ambiguity or recent changes,
  3. mark the dependency unapproved if licensing cannot be verified confidently.

Red Flags - STOP

These statements indicate license governance bypass:

ThoughtReality
"It was open source last time"Licenses change; revalidate with every upgrade
"The package name sounds open source"Verify the LICENSE file directly; names mislead
"Transitive deps don't matter"Critical transitives need license checks too
"We'll check licensing before release"Check at PR time; late discovery is costly
"Source-available is the same"Source-available often has restrictions; verify terms
"Copyleft is fine for internal tools"Distribution models matter; understand obligations

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.