بنقرة واحدة
setup-ci
Generate a GitHub Actions workflow for SDLC validation. Use when setting up CI/CD for a new project.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Generate a GitHub Actions workflow for SDLC validation. Use when setting up CI/CD for a new project.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
Parallel map-reduce bulk ingest for large source sets. Map phase dispatches read-only knowledge-extractor agents (≤N-wide, default Haiku) emitting per-source JSON extracts; Python routes extracts by target library file (fuzzy-merging new topics, pre-allocating new files, flagging oversized topics); reduce phase dispatches one agent-knowledge-updater per file (parallel, one writer per file); single shelf-index rebuild + one log.md entry. Resumable. Supersedes kb-ingest-batch.
Initialise a project for knowledge base use. Appends the [Knowledge Base] section to the project's CLAUDE.md, creates the library/ directory structure, optionally seeds with three example library files from the Agentic SDLC research, and reports next steps. Run once after installing sdlc-knowledge-base.
Drive agent-knowledge-updater over a batch of staged files in library/raw/. Tracks progress in .batch-progress.json for resume support. Sequential by default; --parallel <N> opt-in (max 5). Single shelf-index rebuild and one consolidated log.md entry at the end.
Health-check the project knowledge base. Looks for contradictions between files, stale claims that newer sources have superseded, orphan files with no inbound cross-references, important concepts mentioned but lacking their own page, missing cross-references, and data gaps. Returns a structured report; does not auto-fix.
Stage source files into library/raw/, converting non-markdown formats via markitdown (PDF/DOCX/PPTX/XLSX/HTML/CSV) or pandoc (TeX/EPUB/RST/ORG). Adds provenance frontmatter. No agent dispatch.
Pure-Python knowledge base statistics dashboard. Reads shelf-index and log.md; emits Inventory, Layer distribution, Domain distribution, Recent Activity, and Staleness sections. No agent dispatch. Read-only.
استنادا إلى تصنيف SOC المهني
| name | setup-ci |
| description | Generate a GitHub Actions workflow for SDLC validation. Use when setting up CI/CD for a new project. |
| disable-model-invocation | false |
| argument-hint | [python | javascript | go] |
Generate a GitHub Actions workflow that mirrors the SDLC validation pipeline.
python — Python project (ruff, mypy, pytest, bandit). Default if .py files detected.javascript — JS/TS project (eslint, tsc, jest/vitest).go — Go project (go vet, staticcheck, go test).If no argument provided, detect language from project files.
Detect language if not specified:
*.py files → python*.ts or *.js files → javascript*.go files → goCheck for existing workflow:
.github/workflows/sdlc-validate.yml exists, warn and ask before overwriting.Create workflow directory:
mkdir -p .github/workflows
Generate workflow from the appropriate template:
.github/workflows/sdlc-validate.ymlReport the created file and suggest next steps:
Created .github/workflows/sdlc-validate.yml
Python workflow runs on push and PR to main:
- Lint (ruff)
- Format check (ruff format)
- Type check (mypy)
- Tests (pytest)
- Security (bandit)
JavaScript/TypeScript workflow runs:
- Install (npm ci)
- Lint (npm run lint)
- Type check (tsc --noEmit if tsconfig.json present)
- Tests (npm test)
- Security audit (npm audit --audit-level=high)
Go workflow runs:
- Modules (go mod download)
- Vet (go vet ./...)
- Lint (staticcheck ./...)
- Tests with race detector (go test -race ./...)
- Security scan (gosec ./...)
Commit and push to activate CI.