Skip to main content

get-fsa-training-done

One agent skill, and the CLI behind it, for getting FSA training done: designing a programme, writing its teaching material, and designing and grading its assessments. It installs into Claude Code, Codex (the app, the CLI and the IDE extension) and GitHub Copilot (the Copilot CLI and agent mode in VS Code).

The landing page shows how it works, in real files; its source is in docs/.

The skill has three features, each with its own CLI namespace:

Namespace What it does Docs
program design a training programme and export its workbooks README
material write slide decks on the FSA template, handbooks, lecture notes and lab guides in HTML, and export them to .pptx and .pdf README
assessment design and grade quizzes, assignments, exams and capstones README

They divide one job. A programme's session plan names, in its Training Materials column, the file that serves each session — so program declares that a slot exists and what it weighs, material writes the slides, note or lab guide, and assessment writes the quiz, brief or exam. No feature authors another's artifact, and each checks its own half of that manifest.

The skill is built from tasks — one step each, such as writing a rubric, rendering a brief, or merging a retake — composed into workflows. Ask for a whole job and the agent follows the workflow; ask for one step and it runs that task on its own.

The skill is stateless. It assumes nothing about the directory layout it was installed into and never scans a project on a hunch — it asks for its inputs first, echoes back the resolved paths, and waits for a go-ahead.

Install

pip install get-fsa-training-done

This gives you the gftd command, which every example below uses; it is also installed under its full name, get-fsa-training-done. It needs Python 3.12+.

Then install the skill into your agent:

gftd install --platform all
Command Effect
gftd install --platform claude --scope user ~/.claude/skills/get-fsa-training-done
gftd install --platform claude --scope project ./.claude/skills/get-fsa-training-done
gftd install --platform codex --scope user ~/.codex/skills/get-fsa-training-done
gftd install --platform codex --scope project ./.codex/skills/get-fsa-training-done
gftd install --platform copilot --scope user ~/.copilot/skills/get-fsa-training-done
gftd install --platform copilot --scope project ./.github/skills/get-fsa-training-done
gftd update upgrade the CLI from PyPI, then every install it finds, preserving files you edited
gftd uninstall --platform all remove exactly what was installed
gftd status what is installed where, and whether it drifted
gftd doctor check this machine for the skill's prerequisites

Add --dry-run to any of install, update, or uninstall to see the exact file-by-file plan without touching anything.

gftd update first upgrades the package itself to the latest PyPI release — through pip, pipx or uv tool, whichever installed it — then updates the skill in every host and scope that holds an install (--platform/--scope narrow that). --no-self-update, --offline or GET_FSA_TRAINING_DONE_NO_SELF_UPDATE=1 skip PyPI; an editable checkout is never upgraded, only reported.

Dependencies

Installing the package pulls nothing: dependencies = [] is deliberate, so the lifecycle commands run on a bare interpreter. The libraries the worker commands need live in the managed virtualenv instead — declared once in src/get_fsa_training_done/lifecycle/envmgr/requirements/core.txt:

Library Used by
xhtml2pdf assessment render, for the brief PDF
py7zr assessment grade preprocess, for .7z submissions

gftd install builds that environment, so the first install needs a network and everything after it does not — which is the property that matters on an exam machine.

Two external tools are optional, and doctor reports each without failing for its absence:

  • A .rar extractor (unar, 7z or bsdtar). .rar is proprietary and has no pure-Python reader; every other archive format is read in-process.
  • Docker, for assessment sandbox: running a seed script, a JUnit suite or a pytest run that is not ours — an exam's supplied files, or a submission — in a disposable container with no network.

Rendering embeds its own fonts (see features/common/render/fonts/), so a Vietnamese brief comes out identical on every machine.

Layout

src/get_fsa_training_done/
  cli.py  skill.py          the CLI, and the one skill it installs
  lifecycle/                install, update, uninstall, status, doctor, env
  features/                 program, material, assessment (+ common)
  payload/get-fsa-training-done/
    SKILL.md                the router: workflows and tasks per feature
    references/<feature>/   overview, tasks/, workflows/, generated references
    references/common/      writing style, Vietnamese conventions, shared tasks

Development

pip install -e .
pytest
ruff check . && ruff format --check .
python scripts/sync_version.py --check
for generator in scripts/*/gen_*.py; do python "$generator" --check; done

src/get_fsa_training_done/__about__.py holds the canonical version; sync_version.py propagates it to the payload's VERSION.

Testing the skill from source

gftd update installs the payload of whichever package gftd runs from, so point gftd at the checkout and update:

pip install -e .   # replaces a PyPI install of the package
gftd update        # copies src/.../payload/ into every install it finds

An editable checkout is never upgraded from PyPI, only reported, and the worker commands run the checkout's code too. The payload is copied, not linked: run gftd update again after each payload change (--dry-run shows the plan, --force overwrites files edited in place, keeping *.bak).

To go back to a released version:

pip uninstall -y get-fsa-training-done   # drops the editable .pth
pip install get-fsa-training-done        # or ==<version> to pin one
gftd update                              # syncs the installs to that payload

Add --no-self-update to that last update when you pinned an older version, or it upgrades to the latest release. gftd --version and gftd status confirm what is running and whether the installs match it.

Releasing

A release is a pushed v<version> tag; nothing else publishes. Ordinary commits stay on the current version.

# 1. bump the canonical version, then propagate it
$EDITOR src/get_fsa_training_done/__about__.py      # __version__ = "X.Y.Z"
python scripts/sync_version.py

# 2. run every gate in "Development" above — CI runs the same ones

# 3. commit, tag, push the commit and the tag together
git commit -am "Release X.Y.Z"
git tag -a vX.Y.Z -m "vX.Y.Z"
git push origin main vX.Y.Z

The tag triggers .github/workflows/release.yml:

  1. guard — refuses the tag unless it equals v + __about__.py's version, and re-runs the version and generated-file gates.
  2. pypi — builds, checks the wheel carries the skill payload, and publishes through PyPI Trusted Publishing (environment release; no token).
  3. github-release — creates the GitHub release with generated notes.

The landing page reads the latest version from PyPI, so it needs no edit. Users pick the release up with gftd update, which upgrades the package from PyPI and then every installed skill.

If the guard fails, the tag is wrong, not the workflow: delete it (git push origin :refs/tags/vX.Y.Z && git tag -d vX.Y.Z), fix, and tag again. Once PyPI has accepted a version it can never be re-uploaded — ship a fix as the next patch version instead.

Licence

MIT

Metadata

Release files for get-fsa-training-done 2.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for get-fsa-training-done 2.1.0
File Size Uploaded
get_fsa_training_done-2.1.0.tar.gz 2.3 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for get-fsa-training-done 2.1.0
File Interpreter ABI Platform
get_fsa_training_done-2.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 4.6 MB

Release files / get_fsa_training_done-2.1.0.tar.gz

Download URL get_fsa_training_done-2.1.0.tar.gz
Size 2.3 MB
Tags Source
SHA-256 checksum
How to use checksums
1344f475f2a926a6e92312fa026a6277c641fbe90e6163e69cefb2de19962409
BLAKE2b-256 checksum
How to use checksums
f25f6522f0099eccdbc453aa29cdeeaaf66c842644604bbdad83de17a98a42e7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.

Transparency log

Release files / get_fsa_training_done-2.1.0-py3-none-any.whl

Download URL get_fsa_training_done-2.1.0-py3-none-any.whl
Size 2.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
95acb7c5bc5c5a0eed2b23f1f4544cf6e61e06a283cee89d0a9ef0e25194dff4
BLAKE2b-256 checksum
How to use checksums
d18c6ffd3fe6e75aa7154433cbae02f52e57978cd51ed815c9b1ac89b46e2330
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

2.1.0 This release

2 release files

2.0.0

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page