Skip to content

getaiready/aiready-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AIReady GitHub Action

GitHub Marketplace Version License

Block PRs that break your AI context budget. Run AI readiness analysis in your CI/CD pipeline.

Features

  • 🛡️ AI-Regression Guardrail: Automatically block PRs that reduce your AI leverage. Compares the current score against the platform baseline to ensure your codebase only gets better for AI.
  • 🔄 Semantic Duplicate Detection: Identify redundant logic that confuses LLMs.
  • 🔗 Context Window Optimization: Map and flatten dependency graphs to fit in context.
  • 📛 Naming Consistency: Ensure your codebase is "Agent-Grounded" with predictable naming.

Quick Start

# .github/workflows/aiready.yml
name: AIReady Check
on: [pull_request]

jobs:
  aiready:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: getaiready/aiready-action@v1
        with:
          threshold: '70'
          fail-on-regression: 'true' # 🛡️ New: Block if score drops
          api-key: ${{ secrets.AIREADY_API_KEY }}

Inputs

Input Required Default Description
directory No . Directory to analyze
threshold No 70 Minimum AI readiness score (0-100)
fail-on No critical Fail on severity: critical, major, any, none
fail-on-regression No false New: Block PR if score is lower than platform baseline
upload-to-saas No false Upload results to AIReady SaaS for tracking
api-key No - Required for fail-on-regression and upload-to-saas
tools No all Tools to run (patterns, context, consistency, ai-signal, etc)

Outputs

Output Description
score Overall AI readiness score (0-100)
passed Whether the check passed (true/false)
issues Total number of issues found
critical Number of critical issues
major Number of major issues

Examples

Basic PR Check

name: AIReady Check
on: [pull_request]

jobs:
  aiready:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: getaiready/aiready-action@v1

Strict Mode (Fail on Any Issue)

- uses: getaiready/aiready-action@v1
  with:
    threshold: '80'
    fail-on: 'major'

Specific Tools Only

- uses: getaiready/aiready-action@v1
  with:
    tools: 'patterns,context' # Skip consistency check

Upload to SaaS for History

- uses: getaiready/aiready-action@v1
  with:
    threshold: '70'
    upload-to-saas: 'true'
    api-key: ${{ secrets.AIREADY_API_KEY }}
    repo-id: 'my-repo-id'

Pricing

Plan Price Features
Open Source Free Unlimited public repos
Pro $9/mo Private repos, history, trends
Team $29/mo Team dashboard, integrations

Other Installation Methods

npm

npm install -g @aiready/cli
aiready scan .

Docker

docker run --rm -v $(pwd):/workspace aiready/cli:latest scan /workspace

npx (No Install)

npx @aiready/cli scan .

Links

License

MIT © AIReady </task_progress> </write_to_file>

About

GitHub Action for AIReady - Block PRs that break your AI context budget

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors