setup-crap-check-github-actions

Installation
SKILL.md

Setup CRAP Check -- GitHub Actions

One-time guided setup. Adds a CI workflow that calculates CRAP scores and enforces a threshold.

Workflow

Step 1 -- Detect project setup

  • Identify primary language(s) from file extensions and config files
  • Identify test framework (pytest, jest, vitest, go test, maven, gradle, etc.)
  • Identify existing coverage config (.coveragerc, jest.config, nyc in package.json, jacoco in pom.xml, etc.)
  • Identify source directories (e.g. src/, lib/, app/, . for Go)
  • Check if .github/workflows/ already exists

Present findings to user for confirmation before proceeding.

Step 2 -- Ask user preferences

Use AskUserQuestion for each:

Related skills

More from mohganji/skills

Installs
3
Repository
mohganji/skills
GitHub Stars
4
First Seen
11 days ago