Skip to content

Latest commit

 

History

History
111 lines (91 loc) · 9.26 KB

README.md

File metadata and controls

111 lines (91 loc) · 9.26 KB

Skylos Docs & Guides

Everything in Skylos is organized into 8 groups so you can jump straight to the commands and guides you need. The public documentation site is also available at https://docs.skylos.dev.

The 8 groups at a glance

# Group What it is for Full command list
1 Start Here & Daily Workflow Set up a repo once, inspect your install, and view your codebase and check runs every day. Commands →
2 Code Scanning, Cleanup & Reports Scan code locally for dead code, security flaws, secrets, vulnerable packages, quality, cycles, and debt. Commands →
3 Coding Agent Guardrails Watch coding agents while they edit code, block bad installs/secret reads, and verify when they say "done". Commands →
4 AI Review & AI App Safety Run optional LLM audits and dead-code review, or check guardrails and behavior of AI/LLM apps you build. Commands →
5 CI/CD & Pull Request Gates Gate pull requests, post inline comments, and require human sign-off on risky edits in any CI. Commands →
6 Release, Containers & External Scanners Check built GPU artifacts, scan pinned container images, verify signed verdicts, and compare scanners. Commands →
7 Config, Rules, Privacy & Benchmarks Rule IDs, privacy/network controls, baselines, and real-project regression benchmarks. Commands →
8 Skylos Cloud (Optional) Team web dashboard, shared PR gates, policies, triage, fixes, and compliance reports. Cloud Guide →

1. Start Here & Daily Workflow

Guide What it covers
All Commands by Group Complete grouped guide to every Skylos CLI command and when to use each one
Setup-to-PR Tutorial End-to-end walkthrough from skylos setup and skylos open to a checked pull request
Code Map & Graph Mapping functions, classes, call relationships, and plain-English descriptions
Change Map How Skylos sorts branch changes into Read first, Read, Skim, and Skip
Skylos Repo Map Generated contributor codebase navigator (also at GitHub Pages)

2. Code Scanning, Cleanup & Reports

Guide What it covers
CLI Output Modes Output formats (pretty, concise, json, sarif), interactive TUI controls, and exit codes
Security Traces Following source-to-sink security paths and stepping through findings with skylos explain
Secret Scanning Detecting hard-coded credentials and scanning git history (skylos secrets-history)
Dependency Scanning Checking vulnerable packages, reachability, malicious packages, and exporting SBOMs (skylos sbom)
License Compliance Checking dependency licenses and SBOM license lookup
Linting with Skylos Checking local import cycles and architecture layers (skylos lint)
Test Coverage Checking overall and refactor-aware new-code test coverage from LCOV, Cobertura, JaCoCo, Go, and OpenCover (--coverage-report)
Code Duplication Detecting copy-pasted code across languages with overall and refactor-aware new-code limits (--duplication)
Cleanup Queue Turning findings into a prioritized fix queue (skylos cleanup) and removing dead code (skylos clean)
Type Checking Running your project's installed type checker alongside Skylos (--type-check)
Profiling Timing slow scanner phases and functions (--profile)
Dead-Code Language Plan Language coverage and roadmap for dead-code analysis
Robot Framework Support details for Robot Framework projects

3. Coding Agent Guardrails

Guide What it covers
Agent Hooks Real-time hooks for Claude Code, Codex, and Cursor (skylos agent install-hooks)
Done Gate Running tests and blocking test tampering, silenced checks, and shortcuts (skylos done)
Done Gate Benchmark Measured detection rates and known limits of skylos done
AI Code Verification Deterministic AI-code mistake checks with no LLM (skylos verify)
AI Hallucination Contracts Project-level contracts for validating AI-written code (skylos contract)
Agent Standards Installing and checking coding standards as native agent skills
Agent Config & Publish Rules Rules that guard agent config files and package publish jobs
Stack Verification Pinning and verifying stacked Git branches in CI (skylos stack)
Behavior Preservation Checking whether refactored code kept its original behavior
Regression Replay Replaying a pytest case against earlier code to prove it catches a bug (skylos done replay)

4. AI Review & AI App Safety

Guide What it covers
AI Review Optional LLM-assisted code review (--ai-review, skylos agent scan, skylos agent audit)
Dead-Code Review (LLM & Jev) Optional LLM and Jev dead-code verification (skylos agent verify), API keys, and limits
Agent Verification (discover & defend) Checking guardrails on LLM calls and tools inside apps you build, with OWASP coverage
Agent Behavior Testing Runtime behavior contracts and deterministic scenario tests for AI agents (skylos agent test)
Evals Measuring and evaluating AI-assisted review workflows

5. CI/CD & Pull Request Gates

Guide What it covers
Your First Gated PR Step-by-step walkthrough for adding and enforcing your first Skylos PR check
CI Platforms Setup for GitHub Actions, GitLab CI, Jenkins, Bitbucket Pipelines, Azure Pipelines, and CircleCI
Risk Review Requiring human approval when a PR deletes tests, removes auth, or weakens CI (skylos cicd risk-review)
PR Impact Reporting Highlighting newly unused definitions caused by a PR outside the changed lines
Required Scan Coverage Requiring dependency/scanner coverage and catching incomplete CI inputs
GitLab Code Quality Exporting findings in GitLab Code Quality format
GitLab Managed Uploads Uploading verified GitLab CI scans to Skylos Cloud
Bitbucket & Azure Pipelines Pipeline configuration templates for Bitbucket and Azure DevOps
CI Agent Review Running Cloud-approved PR reviews in CI (skylos cicd agent-review)

6. Release, Containers & External Scanners

Guide What it covers
Verify a Signed Verdict Verifying a signed Skylos Cloud check verdict in your deploy gate (skylos verify-verdict)
Container Image Reports Scanning pinned images with Trivy and ingesting JSON reports (skylos image scan, skylos ingest)
Scanner Comparison Measuring Skylos alongside an existing scanner (skylos compare)

7. Config, Rules, Privacy & Benchmarks

Guide What it covers
Rule Dictionary Rule ID prefixes (SKY-*) and product terminology
VulnHunter Rules Security rule reference and detection patterns
Privacy & Network Every network request the CLI can make, what it sends, and how to turn it off
Liveness Primer Real-project regression testing and PR comparison reports
Benchmarking Agent Code Evaluating AI-code defect checks on benchmark suites
Rule & Cloud Handbook Sources How the printable rule and Cloud handbook PDF is built

8. Skylos Cloud (Optional)

Guide What it covers
Skylos Cloud Guide What every Skylos Cloud component is for, 5-step setup, how to use each area, and Cloud CLI commands
Cloud Sync Safely pulling project policies from Skylos Cloud into your repository (skylos sync)