CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

factory-plan

This skill guides a complete planning pass for a Factory work item, from verifying the issue and target repository through designing and documenting a testable implementation plan. It sets rules for handling untrusted and private-repository content, recording design decisions, and submitting the plan for approval. After approval, it reports the outcome and leaves the card transition to Factory.

Quality

76%

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/factory-plan/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Scored by GLM 5.3

Content

81%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 content is an instruction-only skill with concrete commands, exact paths, and a clearly phased workflow including validation checkpoints and error-recovery loops. Its main weaknesses are mild redundancy across sections and inline guardrail content that could be split into reference files.

DimensionReasoningScore

Conciseness

The body is dense and assumes Claude's competence with no concept explanations, but contains minor redundancy — the Repository Guard pre-push re-check restates the earlier verification steps, and the Behavior Rules section recaps the phases. This fits the efficient-with-minor-trimming anchor rather than the lean every-token-earns-its-place one.

4 / 5

Actionability

Guidance is highly concrete — exact commands ("git rev-parse --show-toplevel", "gh repo view --json visibility"), an exact artifact path (".artifacts/plans/issue-<number>.md"), and explicit error-recovery behavior ("If submit_plan rejects the path, it names the directory it accepts"). Minor gaps (no example plan snippet, some judgment-based directives like "follow the codebase's grain") keep it below fully-copy-paste-ready.

4 / 5

Workflow Clarity

Phases 1–4 are clearly sequenced with explicit validation checkpoints (verify root cause against current code, verify the repository remote before editing and again before pushing) and feedback loops (address feedback and resubmit on rejection; write the plan to the directory named in the submit_plan error), matching the clear-sequence-with-explicit-validation anchor.

5 / 5

Progressive Disclosure

The skill is self-contained with well-organized, clearly headed sections and no nested references (no bundle files exist). Some inline content — the Repository Guard section and the untrusted-data rules — could arguably move to a reference file, fitting the good-structure-with-minor-gaps anchor rather than the well-signaled-references one.

4 / 5

Total

17

/

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 states concrete, distinct actions in a clear niche with correct third-person voice, but it lacks any explicit "when to use" trigger guidance and natural keyword variations. Adding a Use-when clause with user-facing trigger phrases would lift both completeness and trigger term quality.

Suggestions

Add an explicit trigger clause, e.g. "Use when a Factory card enters the planning phase or when asked to plan a Factory work item," to satisfy the completeness requirement.

Include natural synonyms and variations users would say — "planning phase", "implementation plan", "plan this issue/card" — to broaden trigger term coverage.

Briefly mention a distinguishing capability (e.g., verifying the understanding against the code before planning) to reduce overlap risk with adjacent Factory-phase skills.

DimensionReasoningScore

Specificity

"Produce a phased implementation plan... submit it for approval, and end the phase once it is approved" names the domain and three concrete actions with only minor gaps in coverage (e.g., verification and handoff details are unstated), matching the several-specific-actions anchor rather than the comprehensive one.

4 / 5

Completeness

The "what" is clear (produce a plan, submit it, end the phase) but there is no "Use when..." clause or equivalent explicit trigger guidance, which caps completeness at 3 per the judging guidelines.

3 / 5

Trigger Term Quality

Relevant keywords like "Factory work item", "implementation plan", and "approval" are present, but common variations and synonyms a user might naturally say ("planning", "issue", "plan this ticket") are missing, fitting the some-keywords-but-missing-variations anchor.

3 / 5

Distinctiveness Conflict Risk

"Factory work item" and "phased implementation plan" carve a mostly distinct niche with minor overlap risk against sibling Factory phase skills; the absence of explicit trigger phrases keeps it below the clear-niche anchor.

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/factory-plan/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.