chore: Remove sc:eda skill from SuperClaude (#77) #319
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: README Quality Check | |
| on: | |
| pull_request: | |
| paths: | |
| - 'README*.md' | |
| - 'Docs/**/*.md' | |
| push: | |
| branches: [main, master, develop] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| issues: write | |
| pull-requests: write | |
| jobs: | |
| readme-quality-check: | |
| name: Multi-language README Quality Assessment | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.11' | |
| - name: Install dependencies | |
| run: pip install requests | |
| - name: Run README quality check | |
| run: python scripts/readme_checker.py | |
| - name: Upload quality report | |
| if: always() | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: readme-quality-report | |
| path: readme-quality-report.json | |
| retention-days: 30 | |
| - name: Comment PR (if applicable) | |
| if: github.event_name == 'pull_request' && always() | |
| uses: actions/github-script@v8 | |
| with: | |
| script: | | |
| const fs = require('fs'); | |
| if (fs.existsSync('readme-quality-report.json')) { | |
| const report = JSON.parse(fs.readFileSync('readme-quality-report.json', 'utf8')); | |
| const score = report.overall_score; | |
| const emoji = score >= 90 ? '🏆' : score >= 70 ? '✅' : '⚠️'; | |
| const comment = `${emoji} **README Quality Check: ${score}/100** | |
| Structure Consistency: ${report.structure_consistency?.score || 0}/100 | |
| Link Validity: ${report.link_validation?.score || 0}/100 | |
| Translation Sync: ${report.translation_sync?.score || 0}/100 | |
| See the Actions tab for the detailed report.`; | |
| github.rest.issues.createComment({ | |
| issue_number: context.issue.number, | |
| owner: context.repo.owner, | |
| repo: context.repo.repo, | |
| body: comment | |
| }); | |
| } |