Stitch Guide
============

Short, self-contained recipes for common Knit tasks. Each recipe is a small
explanation and a code snippet; browse by category below.

The code snippets use Knit's ``@`` shorthand for the declaration API --- for
example ``@command`` for ``knit_register``, ``@setup`` for
``knit_register_setup``, and ``@with_table`` for ``knit_with_table``. The prose
refers to the functions by their canonical ``knit_*`` names; the ``@`` form is an
equivalent twin of each (see the project README for the full mapping and the
name-discovery rule the registration shorthands use).

.. toctree::
   :maxdepth: 1

   _categories/bootstrap
   _categories/commands
   _categories/parameters
   _categories/types
   _categories/setup
   _categories/resources
   _categories/spack
   _categories/jobs
   _categories/apps
   _categories/recording
   _categories/artifacts
   _categories/provenance
   _categories/cleanup
   _categories/bundle
   _categories/profiles
   _categories/metadata
   _categories/query
   _categories/ai
   _categories/logging
   _categories/introspection
   _categories/agent
