probo / rules
Cursor rule1.5k starsChanged 20 days agoMITView on GitHub
Encode enum slices for PostgreSQL with driver.Valuer
Trending
More talk lately.about the whole repository
Who's talking about getprobo/probo
- A Hacker News story“Show HN: Fed up with compliance tools? Help us make SOC-2 OSS”Hacker News · Jan 15, 2025 · 30 points
- A Hacker News story“SOC2 without the usual paywall – it is free and open source”Hacker News · Feb 19, 2025 · 7 points
- A Hacker News story“Open-source database of vendor compliance information (SoC 2/ISO 27001)”Hacker News · May 2, 2025 · 3 points
- @pydubreucq.bsky.social“Naissance d'une nouvelle plateforme d'accompagnement à la compliance type ISO27001, SOC2 et autres en …”Bluesky · Feb 7, 2025 · 2 likes
- @yug1224.com“SOC2やISO27001などの認証取得を効率化できるオープンソースのGRCプラットフォームらしい セキュリティ管理や監査の自動化をセルフホストで試したいときに使えそうかな yug1224 starred …”Bluesky · Sep 26, 2026 · 1 likes
The biggest 5 of 56 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 56
Talked about on GitHub, Hacker News and Bluesky (56 times).
On GitHub · 50
- Aug 26, 2025SOC2 preparation - initial goals and tools survey — mgagp/ezkey1 reaction
- Jul 23, 2025[✨ feature] Templates — zane-ops/docs1 reaction · 1 comment
- Nov 14, 2026agent-plugins.github.getprobo.probo: db17af9 → 11755d1 — sudosubin/agents.nix0 reactions
- Nov 14, 2026claude-code-plugins.github.getprobo.probo: db17af9 → 11755d1 — sudosubin/agents.nix0 reactions
- Nov 14, 2026codex-marketplaces.github.getprobo.probo: aea83ba → eba95b5 — sudosubin/agents.nix0 reactions
45 more on GitHub
- Nov 13, 2026claude-code-marketplaces.github.getprobo.probo: 1b16a88 → eba95b5 — sudosubin/agents.nix0 reactions
- Nov 13, 2026codex-marketplaces.github.getprobo.probo: a3302c5 → aea83ba — sudosubin/agents.nix0 reactions
- Nov 13, 2026codex-plugins.github.getprobo.probo: 0-unstable-2026-11-12 → 0-unstable-2026-11-13 — sudosubin/agents.nix0 reactions
- Nov 13, 2026claude-code-marketplaces.github.getprobo.probo: 0-unstable-2026-11-12 → 0-unstable-2026-11-13 — sudosubin/agents.nix0 reactions
- Nov 13, 2026agent-plugins.github.getprobo.probo: 0-unstable-2026-11-12 → 0-unstable-2026-11-13 — sudosubin/agents.nix0 reactions
- Nov 13, 2026claude-code-plugins.github.getprobo.probo: 0-unstable-2026-11-12 → 0-unstable-2026-11-13 — sudosubin/agents.nix0 reactions
- Nov 13, 2026codex-marketplaces.github.getprobo.probo: 0-unstable-2026-11-12 → 0-unstable-2026-11-13 — sudosubin/agents.nix0 reactions
- Nov 13, 2026codex-plugins.github.getprobo.probo: f497ace → 79e0540 — sudosubin/agents.nix0 reactions
- Nov 12, 2026claude-code-marketplaces.github.getprobo.probo: b4b8033 → 79e0540 — sudosubin/agents.nix0 reactions
- Nov 12, 2026agent-plugins.github.getprobo.probo: b4b8033 → 79e0540 — sudosubin/agents.nix0 reactions
- Nov 12, 2026claude-code-plugins.github.getprobo.probo: 0-unstable-2026-11-11 → 0-unstable-2026-11-12 — sudosubin/agents.nix0 reactions
- Nov 12, 2026codex-marketplaces.github.getprobo.probo: 0-unstable-2026-11-11 → 0-unstable-2026-11-12 — sudosubin/agents.nix0 reactions
- Nov 12, 2026codex-plugins.github.getprobo.probo: 0-unstable-2026-11-11 → 0-unstable-2026-11-12 — sudosubin/agents.nix0 reactions
- Nov 12, 2026claude-code-marketplaces.github.getprobo.probo: 0-unstable-2026-11-11 → 0-unstable-2026-11-12 — sudosubin/agents.nix0 reactions
- Nov 12, 2026agent-plugins.github.getprobo.probo: 0-unstable-2026-11-11 → 0-unstable-2026-11-12 — sudosubin/agents.nix0 reactions
- Nov 12, 2026claude-code-marketplaces.github.getprobo.probo: 0-unstable-2026-11-10 → 0-unstable-2026-11-11 — sudosubin/agents.nix0 reactions
- Nov 12, 2026agent-plugins.github.getprobo.probo: 0-unstable-2026-11-10 → 0-unstable-2026-11-11 — sudosubin/agents.nix0 reactions
- Nov 12, 2026claude-code-plugins.github.getprobo.probo: 0-unstable-2026-11-10 → 0-unstable-2026-11-11 — sudosubin/agents.nix0 reactions
- Nov 11, 2026codex-marketplaces.github.getprobo.probo: 0-unstable-2026-11-10 → 0-unstable-2026-11-11 — sudosubin/agents.nix0 reactions
- Nov 11, 2026codex-plugins.github.getprobo.probo: 0-unstable-2026-11-10 → 0-unstable-2026-11-11 — sudosubin/agents.nix0 reactions
- Nov 11, 2026codex-marketplaces.github.getprobo.probo: b667ea0 → 52527ec — sudosubin/agents.nix0 reactions
- Nov 11, 2026codex-plugins.github.getprobo.probo: 0-unstable-2026-11-05 → 0-unstable-2026-11-10 — sudosubin/agents.nix0 reactions
- Nov 10, 2026claude-code-marketplaces.github.getprobo.probo: ab6c81c → 52527ec — sudosubin/agents.nix0 reactions
- Nov 10, 2026claude-code-plugins.github.getprobo.probo: a1a3dda → 52527ec — sudosubin/agents.nix0 reactions
- Nov 10, 2026agent-plugins.github.getprobo.probo: a1a3dda → 52527ec — sudosubin/agents.nix0 reactions
- Nov 10, 2026claude-code-marketplaces.github.getprobo.probo: 0-unstable-2026-11-09 → 0-unstable-2026-11-10 — sudosubin/agents.nix0 reactions
- Nov 10, 2026agent-plugins.github.getprobo.probo: 0-unstable-2026-11-05 → 0-unstable-2026-11-10 — sudosubin/agents.nix0 reactions
- Nov 10, 2026claude-code-plugins.github.getprobo.probo: 0-unstable-2026-11-05 → 0-unstable-2026-11-10 — sudosubin/agents.nix0 reactions
- Nov 10, 2026codex-marketplaces.github.getprobo.probo: 0-unstable-2026-11-09 → 0-unstable-2026-11-10 — sudosubin/agents.nix0 reactions
- Nov 9, 2026claude-code-marketplaces.github.getprobo.probo: 6cdf184 → 7bbe06a — sudosubin/agents.nix0 reactions
- Nov 9, 2026codex-marketplaces.github.getprobo.probo: 6cdf184 → 7bbe06a — sudosubin/agents.nix0 reactions
- Nov 9, 2026claude-code-marketplaces.github.getprobo.probo: 0-unstable-2026-11-06 → 0-unstable-2026-11-09 — sudosubin/agents.nix0 reactions
- Nov 9, 2026codex-marketplaces.github.getprobo.probo: 0-unstable-2026-11-06 → 0-unstable-2026-11-09 — sudosubin/agents.nix0 reactions
- Nov 7, 2026claude-code-marketplaces.github.getprobo.probo: 0-unstable-2026-11-05 → 0-unstable-2026-11-06 — sudosubin/agents.nix0 reactions
- Nov 6, 2026codex-marketplaces.github.getprobo.probo: 0-unstable-2026-11-05 → 0-unstable-2026-11-06 — sudosubin/agents.nix0 reactions
- Nov 6, 2026claude-code-marketplaces.github.getprobo.probo: c9b3ca6 → 90dce44 — sudosubin/agents.nix0 reactions
- Nov 5, 2026codex-marketplaces.github.getprobo.probo: c9b3ca6 → 90dce44 — sudosubin/agents.nix0 reactions
- Nov 5, 2026codex-marketplaces.github.getprobo.probo: 0-unstable-2026-11-04 → 0-unstable-2026-11-05 — sudosubin/agents.nix0 reactions
- Nov 5, 2026codex-plugins.github.getprobo.probo: 0-unstable-2026-11-04 → 0-unstable-2026-11-05 — sudosubin/agents.nix0 reactions
- Nov 5, 2026agent-plugins.github.getprobo.probo: 0-unstable-2026-11-04 → 0-unstable-2026-11-05 — sudosubin/agents.nix0 reactions
- Nov 5, 2026claude-code-plugins.github.getprobo.probo: 0-unstable-2026-11-04 → 0-unstable-2026-11-05 — sudosubin/agents.nix0 reactions
- Nov 5, 2026claude-code-marketplaces.github.getprobo.probo: 0-unstable-2026-11-04 → 0-unstable-2026-11-05 — sudosubin/agents.nix0 reactions
- Nov 4, 2026codex-plugins.github.getprobo.probo: b538929 → 7db610d — sudosubin/agents.nix0 reactions
- Nov 4, 2026codex-marketplaces.github.getprobo.probo: 591cfb2 → b231c74 — sudosubin/agents.nix0 reactions
- Nov 4, 2026claude-code-plugins.github.getprobo.probo: b538929 → 7db610d — sudosubin/agents.nix0 reactions
On Hacker News · 4
- Jan 15, 2025Show HN: Fed up with compliance tools? Help us make SOC-2 OSS30 points · 2 comments
- Feb 19, 2025SOC2 without the usual paywall – it is free and open source7 points · 3 comments
- May 2, 2025Open-source database of vendor compliance information (SoC 2/ISO 27001)3 points
- Sep 12, 2026Open Source GRC Platform1 point
On Bluesky · 2
- Feb 7, 2025Naissance d'une nouvelle plateforme d'accompagnement à la compliance type ISO27001, SOC2 et autres en #opensource github.com/getprobo/probo… — @pydubreucq.bsky.social2 likes and reposts
- Sep 26, 2026SOC2やISO27001などの認証取得を効率化できるオープンソースのGRCプラットフォームらしい セキュリティ管理や監査の自動化をセルフホストで試したいときに使えそうかな yug1224 starred getprobo/probo… — @yug1224.com1 likes and repost
Where files are headingNew Cursor rule files have more rules about planning and tracking tasks, and fewer about code style.
Of the Cursor rule files we read, the 4,243 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository31 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .cursor/rules/code-comments.mdcCursor rule
- .cursor/rules/config-propagation.mdcCursor rule
- .cursor/rules/coredata-migrations.mdcCursor rule
- .cursor/rules/cursor-pagination.mdcCursor rule
- .cursor/rules/detail-page-back-link.mdcCursor rule
- .cursor/rules/git-commit-signing.mdcCursor rule
- .cursor/rules/git-commit-style.mdcCursor rule
- .cursor/rules/go-authorize-scope.mdcCursor rule
- .cursor/rules/go-coredata-load-naming.mdcCursor rule
- .cursor/rules/go-declarations.mdcCursor rule
- .cursor/rules/go-delete-no-rows-check.mdcCursor rule
- .cursor/rules/go-error-handling.mdcCursor rule
- .cursor/rules/go-imports.mdcCursor rule
- .cursor/rules/go-logging.mdcCursor rule
- .cursor/rules/go-multiline-params.mdcCursor rule
- .cursor/rules/go-naming-conventions.mdcCursor rule
- .cursor/rules/go-pg-constraint-check.mdcCursor rule
- .cursor/rules/go-upsert-returning-id.mdcCursor rule
- .cursor/rules/go-url-construction.mdcCursor rule
- .cursor/rules/graphql-resolver-errors.mdcCursor rule
- .cursor/rules/list-filtering.mdcCursor rule
- .cursor/rules/no-outlet-context-data.mdcCursor rule
- .cursor/rules/prompt-style.mdcCursor rule
- .cursor/rules/react-named-exports-lazy-entry.mdcCursor rule
- .cursor/rules/relay-connection-item-components.mdcCursor rule
- .cursor/rules/relay-fragments-not-data-props.mdcCursor rule
- .cursor/rules/relay-required-directive.mdcCursor rule
- .cursor/rules/skeleton-width-sync.mdcCursor rule
- .cursor/rules/template-files.mdcCursor rule
- .cursor/rules/v2-color-scale.mdcCursor rule
The file
We split this go-enum-array-valuer.mdc into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 13
Do not loop the values into []string at the call site.
≈ “Common” is an estimate: at least 1 in 5 of the 6,809 Cursor rule files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
---
description: Encode enum slices for PostgreSQL with driver.Valuer
globs: "pkg/coredata/**/*.go"
alwaysApply: false
---
# Enum array arguments
pgx has no encode plan for a slice of a named string enum (`[]Status`) into an unregistered Postgres enum array. Passing that slice fails before the query runs.
Implement `database/sql/driver.Valuer` on a named slice type. `Value` returns the Postgres array literal via `%q`. Enum labels are plain ASCII tokens, so that matches what PostgreSQL parses. Keep `Scan` and `Value` off the singular enum; a single value encodes through `MarshalText`.
Do not loop the values into `[]string` at the call site.
Name the slice the plural of the enum when that name is free (`DocumentVersionSignatureStates`). When a plural helper already uses it (`Statuses()`, `States()`, `Types()`, or a longer name such as `AccessReviewCampaignStatuses()`), append `Values` to the enum type (`StatusValues`).
```go
// GOOD
type StatusValues []Status
var (
_ driver.Valuer = StatusValues(nil)
)
func (values StatusValues) Value() (driver.Value, error) {
if len(values) == 0 {
return nil, nil
}
var result strings.Builder
result.WriteString("{")
for i, value := range values {
if i > 0 {
result.WriteString(",")
}
fmt.Fprintf(&result, "%q", value.String())
}
result.WriteString("}")
return result.String(), nil
}
"statuses": StatusValues{StatusRejected, StatusRevoked},
// BAD — no encode plan for []Status
"statuses": []Status{StatusRejected, StatusRevoked},
// BAD — converts to []string instead of implementing driver.Valuer
encoded := make([]string, len(values))
for i, value := range values {
encoded[i] = value.String()
}
```
An empty slice returns `nil`, so `WHEN @statuses::status[] IS NOT NULL` leaves the filter off. The SQL still casts the parameter: `status = ANY(@statuses::status[])`.
See [`contrib/claude/coredata.md`](../../contrib/claude/coredata.md) (Enum arrays).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

