Files
.profile/CONTRIBUTING.en.md
T
BlackAngelTVandCodebuff 94a67d59f4 docs: refine FWS visual identity
Use the provided FWS logo in contributor documentation and replace the homepage banner with a clean typographic open-source design.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-09-24 19:51:27 +02:00

5.8 KiB

FWS logo

Contributing to FWS

Thank you for your interest in FWS. This guide defines the conventions shared by the organization's repositories.

Effective date

These conventions apply to work created on or after August 26, 2026.

  • Earlier commits, branches, repositories, code and history are not affected.
  • No retroactive renaming or history rewriting is required.
  • All new work must follow these conventions.

Before contributing

  1. Read the target repository's README.md and license.
  2. Check its open issues to avoid duplicating existing work.
  3. Open an issue before starting a notable feature, major change or bug fix.
  4. Use an AI assistant only after reading AGENTS.en.md.

Each repository remains responsible for its own technical documentation and setup instructions.

Commits

Commit messages must be written in English and follow Conventional Commits:

<type>(<scope>): <description>

Allowed types:

Type Usage
feat: New feature
fix: Bug fix
docs: Documentation only
style: Formatting only, with no behavior change
refactor: Refactoring without behavior change
perf: Performance improvement
test: Add or update tests
build: Build system or dependencies
ci: Continuous integration
chore: Maintenance and configuration tasks
revert: Revert a previous commit

Examples:

feat(auth): add password reset flow
fix(installer): resolve partition detection on UEFI
docs(readme): clarify setup steps

The title must be short and imperative. Add a body only when it explains why the change was made, not how it was implemented.

Naming

Repositories

New repositories use lowercase kebab case and the fws- prefix:

fws-arch
fws-web
fws-api
fws-docs

Existing repository names are not renamed retroactively.

Branches

Use type/description, written in English and kebab case:

feat/login
fix/readme-links
docs/api
refactor/installer

Files

Use kebab case for files, regardless of the language:

my-component.ts
user-service.py
network-manager.c
install-script.sh

Code conventions

  • Identifiers such as variables, functions, classes and modules must be written in English.
  • Comments must explain why, not how.
  • Do not comment self-explanatory code.
  • Document non-obvious implementation choices, trade-offs, edge cases and bug references.
  • Follow the conventions and tooling already present in the target repository.

Each project is free to choose its own language, framework and formatter. Use the standard tooling of that stack when available, such as rustfmt, gofmt, Prettier or Ruff.

Repository hygiene

Every repository must have a .gitignore at its root. It must exclude, as applicable:

  • environment files such as .env and .env.*;
  • secrets and credentials;
  • AI assistant data such as .freebuff/, .cursor/ or .vscode/;
  • dependencies and build artifacts such as node_modules/, dist/, build/, target/ and __pycache__/;
  • generated logs, caches and coverage reports.

If a sensitive file is accidentally tracked, remove it from Git without deleting the local copy only after confirming that no secret was exposed. Rotate any exposed credential immediately.

Tests

  • Name test files using *.test.* or the conventional pattern of the project's framework.
  • Write test names in English.
  • Run the target repository's typecheck, linter and tests before opening a pull request.
  • All relevant checks must pass before a pull request can be merged.

Documentation-only changes should still validate links and formatting when those checks are available.

Releases

Released projects use Semantic Versioning:

  • MAJOR: incompatible changes;
  • MINOR: backward-compatible features;
  • PATCH: backward-compatible bug fixes.

Projects should maintain a CHANGELOG.md generated from Conventional Commits or an equivalent release process.

Issues and project tracking

Use issues for bugs, feature requests and questions. Link them to the project's Kanban board when one exists.

A useful bug report includes:

  • reproduction steps;
  • expected and observed behavior;
  • environment, versions and relevant hardware;
  • logs or screenshots with secrets removed.

Recommended labels include bug, enhancement, question, good first issue and help wanted. Reference the issue in the pull request or commit with Fixes #123 when applicable.

Pull request workflow

  1. Create a type/description branch from main.
  2. Make focused changes and commit with Conventional Commits.
  3. Update documentation and tests when relevant.
  4. Open a pull request with a clear title and description.
  5. Link the related issue.
  6. Obtain at least one review.
  7. Ensure all relevant tests and checks pass.
  8. Merge with squash so one pull request produces one clean commit on main.

Do not push, merge or publish without the appropriate maintainer approval. Commits must be signed.

Documentation and language

  • README.md is the French version.
  • README.en.md is the English version.
  • Both versions must remain synchronized.
  • AGENTS.md and AGENTS.en.md are mandatory in every FWS repository and must be updated when organization-wide instructions change.
  • A repository may provide additional documentation according to its own technology stack and language conventions.

Licensing

Licensing is defined per repository. Always read the target repository's license before copying, modifying or redistributing its code. Do not assume that all FWS repositories use the same license.