CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

factory-gitlab-review

Review a GitLab merge request for a Factory work item using brokered source-control tools

59

Quality

74%

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-gitlab-review/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

77%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 is an exceptionally rigorous, fully actionable review runbook with strong validation checkpoints, feedback loops, and exact tool/command/template guidance. Its weaknesses are density and monolithic structure: several mega-paragraphs need splitting or trimming, and reference-level internals (externalId decoding, intake plumbing) belong in separate reference files.

Suggestions

Split the ~400-word step 4 into sub-steps or subsections (environment preparation, test planning, publishing checks, MR comment format, approval gate) so each block is scannable and re-loadable.

Move reference-level internals — e.g., the externalId base64url structure and the gitlab/rules.ts:481 / gitlab/routes.ts:94 citations — into a separate reference file in this skill's bundle and link to it one level deep, keeping SKILL.md as the overview.

Trim repeated caveats that can be stated once (e.g., 'never claim X' formulations appear multiple times across the verdict and test-report sections) to reduce token load without losing policy.

DimensionReasoningScore

Conciseness

Nearly every sentence carries non-obvious domain policy rather than concepts Claude already knows, but several run-on mega-paragraphs (notably step 4 of the review pass, which mixes environment prep, check publishing, comment formatting, and approval gating in one ~400-word block) could be materially tightened and split. It is mostly efficient with room to tighten, matching anchor 3 rather than 2, since there is little true padding.

3 / 5

Actionability

Guidance is fully concrete and executable: exact tool names (source_control_get_change_request, factory_review_source, factory_record_review_verdict), runnable commands (pwd, git rev-parse HEAD, env -u GH_TOKEN ..., pnpm turbo build --filter <pkg>^..., git status --porcelain), and exact output templates (verdict lines, the '## Factory test report' structure with specified table columns). This matches the 'fully executable, copy-paste ready' anchor.

5 / 5

Workflow Clarity

The process is clearly sequenced (role guard, MR read and head verification, independent behavior establishment, prior-finding disposition, verification with published checks, adversarial self-check, in-run cross-check, verdict, handoff) with explicit validation checkpoints throughout (checkout-equals-head check, git status --porcelain before tests and before publishing success, author/URL cross-check) and explicit feedback loops (re-read and re-run cross-check on mismatch, rebuild and re-run on missing build output, publish neutral naming the blocker). This matches the anchor-5 pattern of clear sequence, validation steps, and error-recovery loops.

5 / 5

Progressive Disclosure

Sections are well-labeled and one external reference is clearly signaled ('read references/categories/README.md from the factory-review skill' via skill_read), but the skill is monolithic: deep reference-level detail, such as the paragraph on the opaque gitlab-pr:<base64url(...)> externalId citing gitlab/rules.ts:481 and gitlab/routes.ts:94, is inlined in SKILL.md where a separate reference file would be appropriate. Structure exists but content that should be separate is inline, matching anchor 3.

3 / 5

Total

16

/

20

Passed

Description

61%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 is concise, third-person, and names a clear domain and single concrete action, but it omits any 'when to use' trigger guidance and lists only one action. Adding a Use-when clause with natural trigger phrases (e.g., GitLab MR, code review) would materially raise completeness and trigger quality.

Suggestions

Add an explicit trigger clause such as 'Use when a Factory work item enters the review phase for a GitLab merge request' to answer 'when should this be used', lifting the completeness cap of 3.

Mention common natural variations like 'MR' and 'code review' so trigger matching works against the phrasing users actually use.

Optionally enumerate the key actions performed (read and verify the MR, run tests and publish a test report, post an evidence-based verdict, record the verdict on the card) to raise specificity beyond a single 'Review' verb.

DimensionReasoningScore

Specificity

The description names the domain ("GitLab merge request for a Factory work item") and one concrete action ("Review") with a method qualifier ("using brokered source-control tools"), matching the 'names domain and 1-2 concrete actions' anchor. It does not list several specific actions, so it falls short of a 4.

3 / 5

Completeness

The 'what' is clear ("Review a GitLab merge request for a Factory work item"), 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

"GitLab", "merge request", and "review" are natural terms a user or dispatcher would say, giving good keyword coverage. A few natural terms are missing ("MR", "code review") and "Factory work item" / "brokered source-control tools" are internal jargon rather than user phrases, keeping it below 5.

4 / 5

Distinctiveness Conflict Risk

The Factory work-item binding and brokered-tool constraint carve a mostly distinct niche with only minor overlap risk against generic GitLab MR/code-review skills. It is not a 5 because the core triggers ("GitLab", "merge request", "review") overlap with any general MR-review skill.

4 / 5

Total

14

/

20

Passed

Validation

93%

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

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

referenced_paths_exist

Referenced path issues: 1 missing, 1 deeper-than-1-level

Warning

Total

15

/

16

Passed

Repository

mastra-ai/mastra

Path

mastracode/factory/factory-skills/factory-gitlab-review/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.