Skip to content
skiffyardPublic

About

The Skiffyard organisation profile, contributing rules and security policy

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

Repository files navigation

Contributing to Skiffyard

Skiffyard is a community organisation for small Jennifer decks, the sister organisation of Deckyard. It is not part of the Jennifer project. A deck here meets the same technical requirements as a Deckyard deck but serves a narrower audience, so it joins after one maintainer's review instead of a vote. These rules apply to every repository in the organisation unless a repository's own CONTRIBUTING.md adds to them.

To release a deck of your own, you do not need Skiffyard: see Publishing outside Skiffyard.

Where a deck belongs

Tier Scope What it holds How a deck gets there
1 core the interpreter, its built-in libraries and bundled modules, maintained by the Jennifer project -
2 @deckyard major community decks, each with its own maintainers the requirements, a recent user base and a vote (Deckyard)
3 @skiffyard smaller community decks: the same technical bar, a narrower audience the requirements and a review by one maintainer
4 @<user> anyone's decks, under the author's name jvc publish

The Jennifer project's own organisation holds only what its core team maintains, so every deck is in one of the community tiers or under its author's name. A deck moves up when it earns it and down when its users are gone; each move is a registry move record, with the old versions yanked, and users change their imports.

Every deck has a maintainer

  • Each repository names its maintainers in .github/CODEOWNERS, as a team of this organisation. To start with, every deck names @skiffyard/maintainers; a deck that gains maintainers of its own gets its own team. A maintainer reviews and merges changes, keeps CI green on the current Jennifer release, and cuts releases.
  • One maintainer is enough for a small deck. Code-owner review becomes mandatory once it has two; before that it would block every change, because nobody can approve their own pull request.
  • Adopting a deck: contribute to it for a while, then ask in an issue. The current maintainers and an organisation owner agree, and you join the deck's team - the deck gets its own team for this if it still names @skiffyard/maintainers.
  • Stepping down is fine and needs no reason: open an issue, so the deck can look for someone else.

How a deck is built

Every deck is created from the template repository and keeps the shared CI layer Deckyard uses: the workflows, .github/actions/ and most of tools/. Those files are identical in every deck of both organisations.

  • Do not edit a shared file in a deck. tools/check-shared.sh fails CI when one differs from tools/shared.lock. tools/shared-files lists them.
  • AGENTS.md is optional. It holds the instructions for coding agents and is a useful checklist for people too. A deck that does not want it deletes it; the sync then leaves it out. While a deck has it, it is shared like the rest, and CLAUDE.md must keep its @AGENTS.md line.
  • A check that only one deck needs goes in its tools/check-extra.sh, or in a workflow of its own. Examples that need inputs or a network go in its tools/check-examples.sh.
  • A shared file that is wrong is fixed in the template, then synced to every deck. Open the issue in the template repository.

Before a change is merged, tools/check-all.sh must pass. It checks formatting, lint, headers, test overlays, test coverage of every export, documentation against the code, and the examples. Every behaviour change comes with a test, and every new or changed export with an updated cheatsheet entry.

What a Skiffyard deck must meet

The same as a Deckyard deck. A deck is accepted only when it meets all of these, and stays only while it keeps meeting them:

  • A maintainer who uses what the deck wraps, and who keeps CI green on the current Jennifer release.
  • Tests that run in CI without accounts or network. A client is tested against a local fake that checks the requests it sends, not only the answers it parses, and every export is covered.
  • Documentation checked against the code: a guide per area, every export in the cheatsheet, examples that CI runs or at least parses.
  • Strict handling of input: a caller's malformed input is refused before anything is sent; errors are one typed struct per deck, with the generic kinds (limit, timeout, closed, cancelled) passed on; everything read from outside has a size cap and a deadline; no credential ever appears in a message or URL.
  • The shared CI layer described above, unmodified.

Joining Skiffyard

A new deck starts under its maintainer's own scope (see Publishing outside Skiffyard). It joins @skiffyard when it meets the requirements above and one maintainer of Skiffyard or Deckyard, or an organisation owner, has reviewed it against them. No user base and no vote are needed.

Open an issue in this .github repository: Propose a new deck in any Skiffyard repository's issue chooser opens one with these headings:

  1. What it does, and why it is a deck rather than code in one project.
  2. Who maintains it. A deck is accepted with a maintainer, not without one.
  3. Its licence. Any OSI-approved licence. Most decks here use LGPL-3.0-only.
  4. Its outside dependencies: services, accounts, API keys, capabilities (net, exec, sql). A deck that wraps one vendor's service needs a maintainer who uses that service.
  5. Where it stands: a link to its repository and its releases under your own scope, and how it meets the requirements above.

The reviewer answers in the issue: accepted, or what is still missing.

An accepted deck moves to a repository named deck-<slug> under the @skiffyard scope, created from the template. An organisation owner creates the repository with tools/gh-create-project.sh --org skiffyard from Deckyard's .github repository, which also sets the organisation's usual settings, and runs it again with --protect after the first push.

Moving on to Deckyard

A Skiffyard deck that gathers a noticeable user base, recently, can be proposed for @deckyard under Deckyard's promotion rule: a vote of the current Deckyard maintainers. A Deckyard deck whose user base is gone moves here the same way in reverse, decided by the Deckyard maintainers and announced a month ahead.

Publishing outside Skiffyard

Most decks do not need to be in Skiffyard. Anyone can publish a deck to the registry under their own scope: put it in a public GitHub repository, claim the scope matching your GitHub username (or one of your organisations), tag the release with the manifest's version, and publish with jvc:

jvc login
jvc claim yourname
git tag 0.1.0 && git push origin 0.1.0
jvc publish

jvc publish runs the quality gate locally (lint, tests, docblocks) and publishes the tagged commit; others install it with jvc add @yourname/yourdeck. Starting from the template repository is optional, but gives you the same checks Skiffyard and Deckyard decks run.

When a deck loses its maintainer

A deck is archived when it has had no maintainer for six months, or has failed CI on the current Jennifer release for three months with nobody working on it. Archiving is announced in an issue a month ahead. An archived deck keeps its releases and its name, so existing users are not broken, and its README says it is unmaintained.

Anyone can bring an archived deck back by adopting it.

Security

Report vulnerabilities privately, through the repository's Security tab ("Report a vulnerability"), not in a public issue; see SECURITY.md. The deck's maintainers answer. If they do not within two weeks, an organisation owner does.

Conduct

Be kind, assume good intent, and keep discussion about the code. Organisation owners may remove comments, or people, who make that impossible.

About

The Skiffyard organisation profile, contributing rules and security policy

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors