Back to list
VilnaCRM-Org

ci-workflow

by VilnaCRM-Org

16🍴 2📅 Jan 22, 2026

SKILL.md


name: ci-workflow description: Run comprehensive CI checks before committing changes. Use when the user asks to run CI, run quality checks, validate code quality, or before finishing any task that involves code changes.

CI Workflow Skill

Context (Input)

  • Code changes exist in the working directory
  • Ready to validate code quality before commit/PR
  • Need to ensure all quality standards are met

Task (Function)

Execute make ci and ensure ALL quality checks pass with success message.

Success Criteria: Output ends with "✅ CI checks successfully passed!"

Execution Steps

Step 1: Run CI

make ci

Step 2: Check Result

  • Success: "✅ CI checks successfully passed!" → Task complete
  • Failure: "❌ CI checks failed:" → Go to Step 3

Step 3: Fix Failures

Identify failing check from output and apply fix:

CheckCommandFix
Code stylemake phpcsfixerApply auto-fixes
Static analysismake psalmFix type errors
Quality metricsmake phpinsightsReduce complexity, fix architecture
Testsmake unit-testsDebug failing tests
Mutationsmake infectionAdd missing test cases

Step 4: Re-run

make ci

Repeat Steps 2-4 until success message appears.

Constraints (Parameters)

NEVER decrease these thresholds:

  • min-quality: 100%
  • min-complexity: 93%
  • min-architecture: 100%
  • min-style: 100%
  • mutation MSI: 100%
  • test coverage: 100%

DO NOT:

  • Lower quality thresholds
  • Skip failing checks
  • Commit without "✅ CI checks successfully passed!" message
  • Run commands outside Docker container (use make or docker compose exec php)

Format (Output)

Required final output:

✅ CI checks successfully passed!

Verification Checklist

  • make ci executed
  • All checks passed (composer, security, style, psalm, tests, mutations)
  • Output shows "✅ CI checks successfully passed!"
  • Zero test failures
  • Zero escaped mutants
  • No quality threshold decreased

Score

Total Score

60/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon