agentleFS
SrejonKhanSrejonKhan/agent-skills/skills/open_source_prep/SKILL.md

open_source_prep

Skill3 starsChanged 2 months agoMITView on GitHub

Comprehensive workflow to prepare a project for public open-source release. Handles licensing, username normalization, code integrity checks, and documentation generation.

1 other project uses a version of this, 1 of them edited.

Adopted by

Most recently taken up by

The file

Show its rules and text

We split this skill into the rules it gives an agent

13 rules. About 0 are common, 6 are distinctive, and 7 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 7

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use grep_search to find placeholders (YOUR_USERNAME).

    line 17
  2. Very specific:

    Use replace_file_content to update files.

    line 18
  3. Very specific:

    Use run_command (curl) to fetch licenses.

    line 19
  4. Distinctive:

    Verification: Ensure all major parts of the codebase work together.

    line 25
  5. Distinctive:

    If exists: Add the standard header:

    line 32
  6. Very specific:

    Search and replace the following placeholders with krishnakanthb13:

    line 41
  7. Very specific:

    Add bug_report.md (Steps to reproduce, Expected vs Actual, Environment).

    line 92
  8. Very specific:

    Add feature_request.md (Problem, Proposed Solution, Alternatives).

    line 93
  9. Very specific:

    Create .github/pull_request_template.md (Checklist for tests, docs, breaking changes).

    line 94
  10. Distinctive:

    Gitignore: Ensure secrets, logs, and artifacts are ignored.

    line 98
  11. Distinctive:

    References: Verify all file paths in docs are accurate.

    line 99
  12. Distinctive:

    Badges: Add GPL v3 badge to README.md.

    line 100
  13. Distinctive:

    Consistency: Ensure consistent naming and tone across all files.

    line 101

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

Open Source Release Preparation

This skill guides you through the process of preparing a project for a public GitHub release.

Inputs

  • GitHub Username: The target username for links/licensing.
  • Project Root: The directory to prep.

Tooling Strategy

  • Use grep_search to find placeholders (YOUR_USERNAME).
  • Use replace_file_content to update files.
  • Use run_command (curl) to fetch licenses.

0. Code Integrity & Feature Verification

Before touching documentation:

  • Verification: Ensure all major parts of the codebase work together. identify broken flows or unused modules.
  • Clarification: Explain all features and their interactions.
  • Assumptions: explicitly call out limitations or expected runtime behaviors.

1. License Management

  • Check for LICENSE file:
    • If exists: Add the standard header:
      • Project Name & one-line description
      • Copyright (C) 2026 Krishna Kanth B
      • Standard GPL v3 boilerplate notice.
      • Separator line.
    • If missing: Download GPL v3 text (use curl https://www.gnu.org/licenses/gpl-3.0.txt) and prepend the header above.

2. Username Standardization

Search and replace the following placeholders with krishnakanthb13:

  • YOUR_USERNAME
  • your-username
  • YOUR-USERNAME
  • <username>

Scope: README.md, CONTRIBUTING.md, config files, scripts, and comments.

3. Documentation Suite

A. CODE_DOCUMENTATION.md

  • Source inspiration: codewalkthrough.md or code_readme.md (if they exist).
  • Structure:
    1. File & Folder structure with descriptions.
    2. High-level architecture.
    3. Core modules/functions table.
    4. Data flow (ASCII/Mermaid diagrams).
    5. Dependencies (runtime vs dev).
    6. Execution flow (Entry -> Output).

B. DESIGN_PHILOSOPHY.md

  • Source inspiration: walkthrough.md or context_readme.md (if they exist).
  • Content:
    1. Problem definition.
    2. Why this solution?
    3. Design Principles (Simplicity, Performance, etc.).
    4. Target Audience & Use Cases.
    5. Real-world workflow fit.
    6. Trade-offs & Constraints.

C. CONTRIBUTING.md

  • Create if missing.
  • Content:
    1. Bug reporting formats.
    2. Feature suggestion process.
    3. Workflow: Fork -> Branch -> PR.
    4. Local dev setup.
    5. Pre-submission checklist (Testing/Validation).

D. SECURITY.md & CODE_OF_CONDUCT.md

  • SECURITY.md: Provide clear instructions on how to report vulnerabilities privately (e.g., security email) and supported versions.
  • CODE_OF_CONDUCT.md: Adopt a standard code of conduct (e.g., Contributor Covenant) to establish community guidelines.

E. Issue & PR Templates

  • Create .github/ISSUE_TEMPLATE/ folder.
  • Add bug_report.md (Steps to reproduce, Expected vs Actual, Environment).
  • Add feature_request.md (Problem, Proposed Solution, Alternatives).
  • Create .github/pull_request_template.md (Checklist for tests, docs, breaking changes).

4. Final Polish

  • Gitignore: Ensure secrets, logs, and artifacts are ignored.
  • References: Verify all file paths in docs are accurate.
  • Badges: Add GPL v3 badge to README.md.
  • Consistency: Ensure consistent naming and tone across all files.

Metadata

  • GitHub Username: krishnakanthb13
  • Copyright Holder: Krishna Kanth B

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.