Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

cas-storage-backends

Skill by apereo

Gives an AI assistant backend-specific rules for the MongoDB, Redis, JPA and DynamoDB storage modules in Apereo CAS. It is for developers changing code in those modules.

  • Score 84
  • 11k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install cas-storage-backends

Built from the published package, never by AI.

git clone --depth 1 https://github.com/apereo/cas /tmp/cas && mkdir -p ~/.claude/skills && cp -r /tmp/cas/.claude/skills/cas-storage-backends ~/.claude/skills/cas-storage-backends

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install cas-storage-backends in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill is a set of backend-specific rules for storage in Apereo CAS. It covers MongoDB (connection factory, client lifecycle, ticket and service registry documents, indexes and change streams), Redis with Lettuce (pipelines, SCAN and streams), JPA with Hibernate 7, and DynamoDB. The rules describe known behaviour, such as how connection settings apply, how refresh-scoped beans affect client lifetimes, and how the ticket registry handles storage failures.

The skill is written for developers and AI assistants working on CAS code. The source says it should be used when touching any MongoDB, Redis, JPA or DynamoDB backed module. Several rules are marked as still open, so they describe known issues rather than settled behaviour.

Written from the project's SKILL.md and checked against it.

What it can do

  • MongoDB connection rulesExplains the two branches of MongoDbConnectionFactory and which settings apply in each.
  • Ticket registry guidanceCovers ticket documents, indexes, projections and how storage failures are propagated.
  • Refresh and client lifecycle rulesExplains why MongoDB clients are not closed on bean disposal under refresh-scoped beans.
  • Service registry change streamsDescribes the change stream watcher, its activation logic and how it reloads services.
  • Redis, JPA and DynamoDB notesLists backend rules for Redis pipelines, SCAN and streams, plus JPA and DynamoDB.

What you need

  • A MongoDB replica set to run the change stream scenario

Try asking

  • Check how MongoDbConnectionFactory applies settings when client-uri is used
  • Review this MongoDB ticket registry change for index and projection issues
  • Explain why a Mongo client should not be closed in a refresh-scoped bean

Good to know

  • Several rules are marked as still open.
  • The rules describe the Apereo CAS codebase and do not cover other projects.
  • The change stream scenario needs a replica set from run-mongodb-server-clustered.sh.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .claude/skills/cas-storage-backends/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md15 KB

Alternatives to cas-storage-backends

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

cas-storage-backends: common questions

What storage backends does cas-storage-backends cover?

The source covers MongoDB, Redis with Lettuce, JPA with Hibernate 7, and DynamoDB. It is meant for modules built on those backends.

When should this skill be used?

The source says to use it when touching any MongoDB, Redis, JPA or DynamoDB backed module.

Does the skill cover MongoDB connection settings?

Yes. It explains that the client-uri branch applies the connection string only and does not apply other settings such as the custom trust store.

How do I install cas-storage-backends?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is cas-storage-backends free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is cas-storage-backends safe to use?

It scores 84 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to cas-storage-backends?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

cas-storage-backends Install

Add to stack

Loading.