Skip to content

feat: Add sloop check, a manifest-driven AI-readiness checklist - #7

Merged
tuanngo merged 1 commit into
mainfrom
feat/ready-checklist
Jun 28, 2026
Merged

tuanngo merged 1 commit into
mainfrom
feat/ready-checklist

Conversation

@tuanngo

@tuanngo tuanngo commented Jun 28, 2026

Copy link
Copy Markdown
Contributor

What

sloop check — a best-practices checklist (not a score) for the current workspace:

⚓ Workspace readiness — sloop

  ✓ AGENTS.md present (canonical context)
  ✓ Default tool set in .sloop/config.yaml
  ✓ Claude Code: context delivered (CLAUDE.md)
  ✓ Claude Code: status hooks installed
  ✗ Cursor CLI: status hooks not installed   → sloop hooks install cursor
  ✓ Gemini CLI: context delivered (GEMINI.md)

1 to improve — run the suggested commands above.

Why this design

  • Checklist, not a score — sloop checks presence, it can't judge content quality, so a number would be fake precision.
  • Manifest-driven, not sloop's opinion — per-tool criteria come from each tool's adapter manifest (context/skills/hooks), the single provider-aware source, plus on-disk delivery state. Criteria deepen as manifests do; no per-tool hardcoding.
  • Each gap carries the exact fix command, so the checklist is actionable onboarding.

Changes

  • internal/cli/commands/check.go (+ test) — readinessChecklist (pure-ish, testable) + RunCheck/checkCmd.
  • hooks.go — read-only hooksInstalledFor (reuses the install idempotency check).
  • hints.yaml — a check hint (en/vi); registry.go, README.md — wire-up + docs.

🤖 Generated with Claude Code

`sloop check` runs a best-practices checklist for the current workspace —
AGENTS.md present, context delivered to each enabled tool, skills linked, status
hooks installed — and prints the command that fixes each gap. It is a checklist,
not a score: sloop checks presence, it can't judge content quality.

The per-tool criteria are derived from each tool's adapter manifest
(context/skills/hooks — the single provider-aware source) plus the on-disk
delivery state, so the checklist deepens as the manifests do rather than baking
in sloop's own opinions. Adds a read-only hooksInstalledFor detector (reusing
the install idempotency check), a check hint (en/vi), and a README row.
@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@tuanngo
tuanngo merged commit 4ba0f9b into main Jun 28, 2026
5 checks passed
@tuanngo
tuanngo deleted the feat/ready-checklist branch June 28, 2026 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants