CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

configure-factory-rules

This guide explains how to find and update Factory board and integration configuration while preserving phase semantics, topology, and trusted server-side policy boundaries. It covers custom-board execution, handler changes, versioning, safety constraints, and verification with focused tests and builds.

Quality

69%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Low

Low-risk findings worth noting

Fix and improve this skill with Tessl

tessl review fix ./mastracode/factory/factory-skills/configure-factory-rules/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Scored by GLM 5.3

Content

63%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

The body delivers highly specific, actionable configuration guidance with concrete code patterns, exact file paths, and a real verification workflow — clearly the work of someone who knows this system deeply. Its weaknesses are density and structure: extremely long multi-clause sentences tax token efficiency, and the large volume of inline migration/deprecation detail would be better split into one-level-deep reference files.

Suggestions

Split migration and deprecation detail (the retired Review board, `transitionPolicy`, `includeDefaultBoards`, legacy self-review rules) into a references/ file (e.g. MIGRATION.md) linked from a short inline note, keeping SKILL.md as the overview.

Break up the longest run-on sentences (e.g. the `exitTool` paragraph and the stored-project self-review sentence) into short bullet rules — one rule per bullet — to cut tokens and improve scanability.

Replace vague verification commands with the exact commands to run (e.g. the actual test/typecheck/build invocations) so the 'Verify the change' section is copy-paste executable.

DimensionReasoningScore

Conciseness

The body is domain-dense with no padding explaining concepts Claude already knows, but much of it could be tightened: marathon run-on sentences like "A working phase with an `exitTool` holds the card until that tool succeeds... Once it succeeded, its success is the phase's outcome..." and the multi-clause migration sentence about projects "stored before this change" pack many rules into single sentences. This fits 'mostly efficient but could be tightened' rather than anchor 4's minor instances of over-explanation.

3 / 5

Actionability

Guidance is mostly executable: concrete TypeScript snippets ("new PlatformGithubIntegration({ rules: { issueCommentCreated: null } })"), exact source paths ("src/boards/work.ts", "src/integrations/github/default-rules.ts"), and specific property names ("tools: { <toolName>: { onResult } }"). Minor gaps keep it below 5 — verification commands are named only vaguely ("Run the narrow Factory rule tests and package typecheck") rather than as copy-paste commands.

4 / 5

Workflow Clarity

The workflow is clearly sequenced — find/read existing config and tests, make the change, then "Verify the change" with explicit checkpoints (test undefined/accepted/rejected paths, run rule tests and typecheck, run the Web build, summarize the leaf replaced). It misses anchor 5 because there is no explicit fix-and-retry feedback loop if validation fails, and the destructive-operation cap does not apply since this is configuration editing with a dedicated verification section.

4 / 5

Progressive Disclosure

There are no bundle files (no references/, scripts/, or assets/), and while section headers organize the content well, ~120 lines of dense migration and policy detail (deprecated `transitionPolicy`/`includeDefaultBoards` behavior, the legacy self-review migration rules in "Restrict where cards move") are inlined in SKILL.md where reference files would serve better. This matches 'some structure but content that could be separate is inline' rather than anchor 4's appropriately-placed content.

3 / 5

Total

14

/

20

Passed

Description

58%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

The description precisely names the domain and enumerates the rule categories the skill configures, making it distinctive and largely concrete. Its main weakness is the complete absence of explicit trigger guidance ('Use when...'), which both caps completeness and limits natural trigger-term coverage — users mentioning GitHub/Linear integration behavior or board setup might not surface this skill.

Suggestions

Add an explicit trigger clause, e.g. "Use when the user wants to change Factory board rules, phase semantics, or GitHub/Linear integration event behavior."

Include natural trigger terms users would actually say — "GitHub rules", "Linear integration", "board phases", "MastraFactory" — alongside the current domain jargon.

Consider a concrete verb per category (e.g. "Add lifecycle rules, change phase semantics, override integration event handlers") instead of the single generic verb "Configure".

DimensionReasoningScore

Specificity

The description enumerates several concrete configuration targets — "board-owned lifecycle, policy, phase-semantics, and tool-result rules, plus integration event rules" — matching the anchor for several specific items with minor gaps. It falls short of 5 because it relies on a single generic verb ("Configure") rather than multiple distinct concrete actions, and 'policy' is somewhat vague.

4 / 5

Completeness

The 'what' is clear (configure board-owned lifecycle/policy/phase-semantics/tool-result rules plus integration event rules), but there is no 'Use when...' clause or equivalent explicit trigger guidance, which caps completeness at 3 per the judging guidelines. It is not a 4 because 'when' is entirely absent rather than merely imprecise.

3 / 5

Trigger Term Quality

Terms like "lifecycle", "tool-result rules", and "integration event rules" are what a Factory-deployment user would say, matching 'some relevant keywords'. It misses common natural variations and synonyms users would actually utter — e.g. "GitHub", "Linear", "board", "MastraFactory" — so it does not reach anchor 4's good keyword coverage.

3 / 5

Distinctiveness Conflict Risk

Niche phrasing like "board-owned lifecycle", "phase-semantics", and "tool-result rules" gives it a clear domain identity with minimal conflict risk against generic skills. It stops short of 5 because without any when-clause or named integrations, closely related Factory-configuration skills could still overlap.

4 / 5

Total

14

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

mastra-ai/mastra

Path

mastracode/factory/factory-skills/configure-factory-rules/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.