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

Quality

71%

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

70%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 skill body is operationally excellent: tool calls, commands, decision gates, and failure handling are specified to an unusually executable degree, and the workflow sequencing with fail-closed validation is a model of clarity. Its weakness is token efficiency — enormous run-on paragraphs with repeated conditions and inlined policy detail that belongs in reference files, which also holds back progressive disclosure since the bundle has no references of its own.

Suggestions

Split the step-4 test-report comment template and the factory_review_source cross-check procedure into reference files (e.g. references/test-report-format.md, references/identity-cross-check.md) and keep a short summary inline, reducing the monolithic ~18KB body.

Break the review-pass steps into sub-steps or bullet lists and de-duplicate the three separate statements of environment-failure policy into a single rule.

Move internal implementation citations (gitlab/rules.ts:481, gitlab/routes.ts:94, session/source-control-tools.ts) into a reference note; they explain why the rule exists but are not needed to execute the pass.

DimensionReasoningScore

Conciseness

Step 4 of the review pass is a single ~900-word paragraph, environment-failure handling is stated three times ('If a preparation step fails, fix it with a narrower build', 'An environment failure is not a pass', 'If it still cannot run, publish neutral'), and implementation minutiae like 'gitlab/rules.ts:481' and the full test-report template are inlined. This is noticeably verbose with repeated conditions, matching anchor 2 rather than 3, though it never pads with concepts Claude already knows.

2 / 5

Actionability

The body gives fully executable guidance: named tool calls with exact parameter values ('source_control_publish_test_check' with 'in-progress/success/failure/neutral/cancelled'), runnable commands ('env -u GH_TOKEN -u GITHUB_TOKEN -u GITLAB_TOKEN -u GITLAB_ACCESS_TOKEN', 'pnpm turbo build --filter <pkg>^...', 'git status --porcelain'), and a line-by-line MR comment template. Placeholders like <pkg> are legitimately parameterized, so this meets the copy-paste-ready anchor.

5 / 5

Workflow Clarity

A numbered 5-step review pass with explicit validation gates (the approval checklist requiring 'affirmative evidence that the checkout equals the current MR head'), feedback loops ('Re-read the MR ... once and re-run this cross-check', 'refresh and re-run the review gates'), and fail-closed handling for every failure mode (mismatch, stale commitId, moved head, publication failure). This matches the anchor with explicit checkpoints and error-recovery loops.

5 / 5

Progressive Disclosure

The body has real section headers (Security and scope, Review pass, Verdict and handoff) and one clearly signaled external reference ('read references/categories/README.md from the factory-review skill'), but no bundle files exist and heavy material — the test-report comment format, the factory_review_source cross-check procedure, and internal file/line citations — is inlined where reference files belong. This fits anchor 3 (structure present, content that should be separate is inline) rather than 2, since headers and a signaled reference exist.

3 / 5

Total

15

/

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, concrete, and third-person, correctly identifying a distinct niche (GitLab MR review within the Factory work-item flow via brokered tools). Its main gaps are the absence of any 'when to use this' trigger guidance and a single-action scope that omits the verdict-publication and card-recording work the skill actually performs.

Suggestions

Add a 'Use when...' clause, e.g. 'Use when a Factory work item in the review phase binds a GitLab merge request', to supply the missing 'when' and lift completeness.

Mention the outcome actions so the 'what' is comprehensive: '...publish an evidence-based verdict on the MR and record it on the review card'.

Include the natural synonym 'MR' alongside 'merge request' to broaden trigger-term coverage.

DimensionReasoningScore

Specificity

'Review a GitLab merge request' names the domain and one concrete action, and 'using brokered source-control tools' names the mechanism, but no further actions (publish a verdict, record it on the card, hand off) appear. This matches anchor 3 (domain plus 1-2 concrete actions, not comprehensive) and not 4, which requires a list of several specific actions.

3 / 5

Completeness

The 'what' is clear and concrete, but there is no 'Use when...' clause or equivalent explicit trigger guidance, which caps completeness at 3 per the judging guidelines. It is not 2 because the 'what' is specific rather than vague.

3 / 5

Trigger Term Quality

'GitLab', 'merge request', and 'review' are the natural terms a user would say when needing this skill, with 'Factory work item' marking the domain. Common variations like 'MR' or 'code review' are missing, so it fits anchor 4 (good keyword coverage, a few natural terms missing) rather than 5's comprehensive synonym coverage.

4 / 5

Distinctiveness Conflict Risk

The combination 'GitLab merge request' + 'Factory work item' + 'brokered source-control tools' carves a fairly distinct niche with only minor overlap risk against a generic GitLab-review skill or its GitHub counterpart. It falls short of anchor 5 because the trigger terms alone do not fully disambiguate it from sibling factory review skills.

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.