foundatio-repositories
Skill by exceptionless
Guides developers in querying, counting, aggregating, patching and paginating Exceptionless data through Foundatio.Repositories, an Elasticsearch abstraction. It is intended for C# developers working with Exceptionless data.
Install foundatio-repositories
Built from the published package, never by AI.
git clone --depth 1 https://github.com/exceptionless/Exceptionless /tmp/Exceptionless && mkdir -p ~/.claude/skills && cp -r /tmp/Exceptionless/.agents/skills/foundatio-repositories ~/.claude/skills/foundatio-repositoriesRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/exceptionless/Exceptionless /tmp/Exceptionless && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/Exceptionless/.agents/skills/foundatio-repositories ~/.gemini/antigravity-cli/skills/foundatio-repositoriesAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install foundatio-repositories in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
Foundatio Repositories is a skill that guides an AI assistant through Exceptionless data access using the Foundatio.Repositories Elasticsearch abstraction. It covers the repository hierarchy, the entity types such as events, stacks and projects, and the difference between DailyIndex and VersionedIndex storage. It explains how to run counts with aggregations, build Lucene-style filter expressions, and page results with search-after paging.
It also covers partial and script patches, the query extension methods for organization, project and stack filters, and a list of anti-patterns to avoid, such as calling the raw Elasticsearch client for normal queries. The skill is aimed at developers writing C# code against Exceptionless data who want to follow the library's conventions. Raw IElasticClient use is reserved for migrations or index maintenance.
Written from the project's SKILL.md and checked against it.
What it can do
- CountAsync with aggregationsRuns counts and aggregations such as cardinality, terms, date histograms, sum, min, max and average.
- AggregationsExpression DSLBuilds space-separated aggregation expressions with bucket sizes, intervals and nested aggregations.
- FilterExpressionApplies Lucene-style query syntax parsed by Foundatio Parsers to filter results.
- Query extension methodsFilters by organization, project, stack, app filter, date range and field equality.
- SearchAfterPagingPages through large result sets with search-after paging instead of offset-based paging.
- PatchAllAsync and PatchAsyncUpdates documents with PartialPatch or Painless ScriptPatch, with optional immediate consistency.
- Anti-pattern guidanceLists raw Elasticsearch client calls to avoid and the repository method to use instead.
What you need
- Elasticsearch
- Foundatio.Repositories library
- Foundatio Parsers
Try asking
- Count open error events per stack using a terms aggregation
- Write a C# loop that pages through all events with SearchAfterPaging
- Patch all tokens in an organization to set is_suspended to true
Good to know
- Index(start, end) only routes to daily shards for DailyIndex (events) and does nothing for VersionedIndex.
- Raw IElasticClient should only be used for migrations or index maintenance.
- Offset-based pagination is not recommended; use search-after paging.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/foundatio-repositories/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md7 KB
Alternatives to foundatio-repositories
All alternatives →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.
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.
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.
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.
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.
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.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
foundatio-repositories: common questions
What is Foundatio Repositories used for?
It provides a high-level Elasticsearch abstraction for querying, counting, patching and paginating Exceptionless data. The skill documents how to use its repository methods.
When should I use the raw Elasticsearch client?
The source says to reserve raw IElasticClient for migrations or index maintenance that cannot be expressed through repositories. Normal query, count, patch and pagination work should use repository methods.
Which repository handles Exceptionless events?
IEventRepository handles PersistentEvent entities and uses DailyIndex, which is date-partitioned. Stacks, projects, organizations, users, tokens and migration state use VersionedIndex.
How do I install foundatio-repositories?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is foundatio-repositories free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is foundatio-repositories safe to use?
It scores 81 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 foundatio-repositories?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
