Skip to content
cccskills
FreePublished on GitHub

workflow-contracts

Skill for the Workflow-contracts area of paddock. 51 symbols across 11 files.

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md4.2 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Workflow-contracts

51 symbols | 11 files | Cohesion: 84%

When to Use

  • Working with code in src/
  • Understanding how validateWorkflowContract, createWorkflowContractAjv, workflowContractError work
  • Modifying workflow-contracts-related functionality

Key Files

FileSymbols
scripts/workflow-contracts/workflow-contract-cli.tsparseWorkflowContractCliArgs, parseFlags, main, tsModule, openWorkflowContractDatabase (+3)
src/lib/workflow-contracts/validator.tsvalidateWorkflowContract, validateTemplate, validateVariables, validateTracker, validateStringArray (+2)
src/lib/workflow-contracts/hash.tssha256, stableStringify, computeContractHash, computeTemplateHashes, stabilize (+2)
src/lib/workflow-contracts/exporter.tsexportWorkflowContractMarkdown, buildExportContract, readLatestSnapshot, overlayRuntimeFields, runtimeToTemplate (+1)
src/lib/workflow-contracts/recovery.tsrecoverLastKnownGood, applyRecovery, parseCanonicalTemplateSlugs, runtimeToTemplate, parseJson
src/lib/workflow-contracts/importer.tsupsertTemplate, importWorkflowContract, selectRuntimeTemplates, selectOwnedRuntimeTemplates
src/lib/workflow-contracts/diff.tsdiffWorkflowTemplates, isWorkflowContractOwned, templateMatchesRuntime, parseJson
src/lib/workflow-contracts/yaml-loader.tsloadWorkflowContractFromFile, loadWorkflowContractFromString, rejectUnsafeYamlSyntax, normalizePromptLineEndings
src/lib/workflow-contracts/diagnostics.tscreateWorkflowContractRun, countDiff, recordWorkflowContractErrors
src/lib/workflow-contracts/errors.tsworkflowContractError, redactDetails

Entry Points

Start here when exploring this area:

  • validateWorkflowContract (Function) — src/lib/workflow-contracts/validator.ts:17
  • createWorkflowContractAjv (Function) — src/lib/workflow-contracts/schema.ts:2
  • workflowContractError (Function) — src/lib/workflow-contracts/errors.ts:23
  • sha256 (Function) — src/lib/workflow-contracts/hash.ts:13
  • stableStringify (Function) — src/lib/workflow-contracts/hash.ts:17

Key Symbols

SymbolTypeFileLine
validateWorkflowContractFunctionsrc/lib/workflow-contracts/validator.ts17
createWorkflowContractAjvFunctionsrc/lib/workflow-contracts/schema.ts2
workflowContractErrorFunctionsrc/lib/workflow-contracts/errors.ts23
sha256Functionsrc/lib/workflow-contracts/hash.ts13
stableStringifyFunctionsrc/lib/workflow-contracts/hash.ts17
computeContractHashFunctionsrc/lib/workflow-contracts/hash.ts21
computeTemplateHashesFunctionsrc/lib/workflow-contracts/hash.ts25
exportWorkflowContractMarkdownFunctionsrc/lib/workflow-contracts/exporter.ts6
redactDetailsFunctionsrc/lib/workflow-contracts/errors.ts9
recoverLastKnownGoodFunctionsrc/lib/workflow-contracts/recovery.ts5
applyRecoveryFunctionsrc/lib/workflow-contracts/recovery.ts51
upsertTemplateFunctionsrc/lib/workflow-contracts/importer.ts96
createWorkflowContractRunFunctionsrc/lib/workflow-contracts/diagnostics.ts18
importWorkflowContractFunctionsrc/lib/workflow-contracts/importer.ts7
selectRuntimeTemplatesFunctionsrc/lib/workflow-contracts/importer.ts87
selectOwnedRuntimeTemplatesFunctionsrc/lib/workflow-contracts/importer.ts91
diffWorkflowTemplatesFunctionsrc/lib/workflow-contracts/diff.ts3
isWorkflowContractOwnedFunctionsrc/lib/workflow-contracts/diff.ts41
recordWorkflowContractErrorsFunctionsrc/lib/workflow-contracts/diagnostics.ts43
parseWorkflowContractCliArgsFunctionscripts/workflow-contracts/workflow-contract-cli.ts10

How to Explore

  1. gitnexus_context({name: "validateWorkflowContract"}) — see callers and callees
  2. gitnexus_query({query: "workflow-contracts"}) — find related execution flows
  3. Read key files listed above for implementation details

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Skill for the Adapters area of paddock. 108 symbols across 22 files.

The English summary is being prepared. Showing the original description.

racecraft-lab/paddock-prototype12Updated Jun 26, 2026

chat

Free

Skill for the Chat area of paddock. 62 symbols across 10 files.

The English summary is being prepared. Showing the original description.

racecraft-lab/paddock-prototype12Updated Jun 26, 2026

Skill for the Dashboard area of paddock. 80 symbols across 16 files.

The English summary is being prepared. Showing the original description.

racecraft-lab/paddock-prototype12Updated Jun 26, 2026

github

Free

Skill for the Github area of paddock. 23 symbols across 5 files.

The English summary is being prepared. Showing the original description.

racecraft-lab/paddock-prototype12Updated Jun 26, 2026

Use when the user needs to run GitNexus CLI commands like analyze/index a repo, check status, clean the index, generate a wiki, or list indexed repos. Examples: "Index this repo", "Reanalyze the codebase", "Generate a wiki"

The English summary is being prepared. Showing the original description.

racecraft-lab/paddock-prototype12Updated Jun 26, 2026

Use when the user is debugging a bug, tracing an error, or asking why something fails. Examples: "Why is X failing?", "Where does this error come from?", "Trace this bug"

The English summary is being prepared. Showing the original description.

racecraft-lab/paddock-prototype12Updated Jun 26, 2026

See all skills by racecraft-lab

Report a problem with this skill