agentsclimarketplace

Howto skill workflow

Skill paritytech/substrate-skills/skills/howto-skill-workflow

Creates and validates skill artifacts with FCIS architecture. Use when the user requests to create, fix, validate, or challenge skills. Do not use for general file editing or installing skill systems. Guarantees FCIS-compliant skills via G1-G9 gate validation and destructive review.From its SKILL.md

Install
npx -y skills add paritytech/substrate-skills --skill howto-skill-workflow

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

11.1 KB, as published. Nobody here has run it

Howto Skill Workflow

1. Mode & Protocol

MODE: AUSTERE REFERENCE (Diataxis) ROLE: Skill Lifecycle Orchestrator CONSTRAINT: Thin FCIS shell. Load references per-intent only.

*** PROCESS GATE — MANDATORY BEFORE ANY EDIT *** BEFORE touching any file: (1) BRAINSTORM — diverge 12-20 approaches, converge, confirm confidence ≥ 9/10. (2) BIG-FISH CHECK — ask "Does this change improve the skill's ability to produce better skills?" IF answer is "it just passes gates" → STOP, rethink. (3) ONLY THEN proceed to Decision Matrix. FAILURE TO BRAINSTORM FIRST = PROCESS VIOLATION. The validator catches structural errors. Nothing else catches process errors. This gate is your only enforcement. *** END PROCESS GATE ***


2. Global Invariants

MUST enforce on every execution. NEVER skip.

InvariantRule
UID GateEvery reference file MUST have uid (8-char hex) + # NO LEETSPEAK. Mismatch → STOP.
FCIS SeparationFrontmatter = tooling shell; body = pure LLM dispatch; references/ = on-demand knowledge.
4-Part DescriptionEvery skill MUST use WHAT/WHEN/DO NOT/Guarantee format; ≤350 chars.
Auto-ValidationEvery create/edit route chains to validate_skill.py unless --skip-validation.
Recursion GuardTrack call depth. IF depth > 2 → STOP, return cached analysis.
Self-ReferenceIF target is howto-skill-workflow → Bootstrap Mode: load skillscore-rubric + boolean-gates + validation-pyramid, apply stricter thresholds.
Brainstorm-FirstEvery create/edit route MUST execute structured-brainstorm (diverge → converge) before execution. Iterate until confidence ≥ 9/10.
Skill BoundaryGeneral file editing → general tools. Installing skill systems → not supported. Blockchain/auth/observability → delegate to domain skills.
Big-Fish LensEvery change MUST improve the skill's ability to produce better skills. IF gates pass but outcome didn't improve → question the gates.

3. Decision Matrix

Locate matching row. Load ALL files in Artifacts column.

User IntentActionComplexity/RiskArtifacts
"Create a skill for X"Load artifacts → brainstorm → init_skill.py → validateHigh/Lowreferences/first-principles-manifesto.md, references/architecture-anatomy.md, references/authoring-standards.md, references/process-enforcement.md
"Edit/fix my skill"Load artifacts → brainstorm → destructive review → rebuildHigh/Mediumreferences/first-principles-manifesto.md, references/materiality-gate.md, references/process-enforcement.md
"Validate skill quality"Load artifacts → run validate_skill.py → reportLow/Lowreferences/skillscore-rubric.md, references/boolean-gates.md, references/validation-pyramid.md
"Challenge my skill assumptions"Load artifacts → brainstorm → destructive review (inline, no delegation)High/Mediumreferences/first-principles-manifesto.md, references/materiality-gate.md
General file editingSTOP — Redirect to general file tools——
"Install skill system"STOP — Not supported——
Delete a skillSTOP — Manual deletion required——
"List all skills"STOP — Use glob directly——

Create/Edit Execution Protocol

  1. Brainstorm: Diverge (12-20 approaches) → Converge → Synthesize. IF confidence < 9/10 → iterate (max 3 cycles).
  2. Challenge: List every validator rule optimized for. IF content exists only to pass validation → DELETE it. IF rule produces worse outcomes → FLAG it.
  3. Review: Apply mutation lens (rotated). Produce Delta Report (Kept/Replaced/Added/Removed).
  4. Rebuild: Bottom-up reconstruction (Deletion Categories from first-principles-manifesto.md).
  5. Validate: Run validate_skill.py (auto-chained unless --skip-validation).
  6. Verify: IF gates fail → return to step 1. IF gates pass → output results.

Validate Execution Protocol

  1. Load: Read all artifacts from matched Decision Matrix row.
  2. Run: Execute validate_skill.py against target skill.
  3. Report: Output skill_name, skillscore, gates_passed, verdict.

4. Contrastive Exemplars

✅ CORRECT: Thin FCIS Shell

PhaseContent
TriggerUser: "Create a skill for Docker optimization"
SKILL.md80 lines: frontmatter + Invariants + Routing + Exemplars
ResultSkill loads fast, routing clear, maintainable

❌ FAIL: Thick Shell with Embedded Logic

PhaseContent
TriggerUser: "Create a skill for Docker optimization"
SKILL.md400 lines with full step-by-step procedures
ResultViolates FCIS; workflow logic belongs in references/

Why: Thick shells dilute attention, violate P1 (token economy), make routing ambiguous.

✅ CORRECT: Intent Disambiguation

User SaysRouted To
"Create a skill for X"create_skill
"Fix my skill, it's broken"edit_skill
"Validate this skill"validate_skill
"Challenge my skill"apply_mutation_lens
"Rebuild from scratch"edit_skill (bottom-up)
"Brainstorm improvements"edit_skill (brainstorm-only)

❌ FAIL: Ambiguous Routing

User SaysProblem
"Check my skill"validate or edit? Clarify first.
"Make my skill better"edit or mutation lens? Clarify first.

Resolution: Load first-principles-manifesto.md + materiality-gate.md → classify via materiality test.

❌ FAIL: Skipped Brainstorm (Process Violation)

PhaseContent
TriggerUser: "Improve this skill recursively"
ActionRead all files → immediately start editing boolean-gates.md, skillscore-rubric.md
ResultFixed doc/validator mismatches but missed the actual problem: unenforced process invariants

Why: Agent read "MUST brainstorm" as documentation to fix, not as an instruction to follow. Declarative invariants in the attention-attenuated middle have no enforcement mechanism. Process gates MUST use directive syntax in primacy/recency positions (Sandwich Pattern from directive-prompting.md).


5. Anti-Patterns

PatternStatusReason
Loading references not in matched intentFORBIDDENViolates FCIS loading rule
Generating before loading artifactsFORBIDDENMisses structural constraints
Skipping UID verificationFORBIDDENBroken cross-references
Weak modals (should, could, consider)FORBIDDENAmbiguous instructions
Mixing REFERENCE and HOW-TO modesFORBIDDENDiataxis violation
Recursing beyond depth 2FORBIDDENInfinite loop risk
Delegating mutation_lens externallyFORBIDDENMust be inline only
Editing without brainstorm divergenceFORBIDDENMisses better approaches
Optimizing for validator over qualityFORBIDDENClosed-loop delusion
NEVER skip validate_skill.py on createNEVERUnvalidated skills are unsafe

*** RUNTIME CONTRACT — RECENCY ENFORCEMENT *** BEFORE generating final output, verify:

  1. DID YOU BRAINSTORM? IF no divergent approaches were generated → STOP. You skipped the Process Gate.
  2. DID YOU APPLY BIG-FISH LENS? IF changes only fix gates without improving output quality → STOP. You optimized for the validator.
  3. Run validate_skill.py. Output MUST include gates_passed and Delta Report if edits occurred. The validator catches structural errors. This contract catches process errors. Both MUST pass. *** END RUNTIME CONTRACT ***

Keep looking

Skills are one crate of 607,533. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.