Active Storage Validations is a Ruby gem for adding validation rules to files attached through Rails Active Storage. Rails developers use it to check whether uploaded images, videos, audio files, PDFs, and other attachments meet requirements such as type, size, dimensions, duration, or quantity.
Borrowing it
Nothing to install: this file belongs to igorkasyanchuk/active_storage_validations. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/igorkasyanchuk/active_storage_validations/master/.cursor/skills/commit/SKILL.mdgit clone --depth 1 https://github.com/igorkasyanchuk/active_storage_validationsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/igorkasyanchuk/active_storage_validations/commit)<a href="https://agentmods.dev/skills/igorkasyanchuk/active_storage_validations/commit"><img src="https://agentmods.dev/badge/skills/igorkasyanchuk/active_storage_validations/commit.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00035 | $0.00486 |
| Opus 5 | $0.00017 | $0.00243 |
| Sonnet 5 | $0.00007 | $0.00097 |
| Haiku 4.5 | $0.00003 | $0.00049 |
Grade A, and why
commit scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Commit
Create a git commit now. Do not ask for confirmation unless there is nothing to commit or secrets are involved.
How the user invokes this
- Slash:
/commitin Agent chat - Invoke with slash
/commitin the current Agent chat (do not start a new chat).- Cursor’s Agent input is a webview: keybindings cannot reliably type/submit into it (
typegoes to the editor instead). No Mac shortcut for auto-send/commituntil Cursor exposes a prompt API that works from keybindings.
- Cursor’s Agent input is a webview: keybindings cannot reliably type/submit into it (
Steps
- In parallel:
git status,git diff(staged + unstaged). Do not rungit logor infer message style from history (see.cursor/rules/git.mdc). - Decide what belongs in this commit from the conversation / current task. Exclude unrelated dirty files (e.g. leftover docs). Never stage secrets (
.env,credentials.json,config/master.key). - Stage the chosen paths with
git add. - Draft the subject from
.cursor/rules/git.mdc(this file only — including the scope glossary):type(scope): imperative description- Types:
feat|fix|docs|style|refactor|test|chore|perf|build|ci - Imperative, lowercase start, ≤ 72 chars, no trailing punctuation
- Commit with HEREDOC (no
--no-verify, no amend, no push, no git config):
git commit -m "$(cat <<'EOF'
type(scope): description
Optional body when the why is not obvious.
EOF
)"
- If a hook fails, fix and create a new commit (do not amend).
- Run
git statusand reply with the short hash + subject only.
Out of scope
- Do not push unless the user explicitly asks in the same turn.
- Do not commit when the worktree has no relevant changes — say so briefly.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago First seen · 48 lines · 35 tokens per session scan A 2c1d293f3de2
commit is a skill published in the GitHub repository igorkasyanchuk/active_storage_validations (1,190 stars, last pushed 4d ago), licensed MIT. It adds 35 tokens to every session and 486 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-05.
Other skills, from other repositories
create-pr
Creates a GitHub PR with a Linear-ticket-prefixed title and a decision-led, narrative description for prisma-next. Use when the user wants to create a pull request, open a PR, or submit changes for review.
git-commit
Generate well-formatted git commit messages following conventional commit standards.
mcore-split-pr
Split a PR into multiple PRs to reduce the number of required CODEOWNERS reviewer groups.
contributing
How to contribute to evlog, covering commit and PR conventions, changesets, the Definition of Done, testing rules, and the authored skills that walk through building a new adapter, enricher, framework integration, or map rule. Load this for any question about contributing, opening a PR, or adding something to the…
git-commit
Creates git commits following Conventional Commits format with type/scope/subject and detailed markdown body. Use when user wants to commit changes, create commit, save work, or stage and commit. Enforces project-specific conventions from CLAUDE.md. Each change type gets its own markdown heading (# emoji + type), with…
levelup-publish
Compile accepted Context Directive Records (CDRs) into team-ai-directives artifacts and create a draft PR. Builds context modules, evals goldensets, and/or skills based on CDR context types.