Best use case
suffix-structure-builder is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Build and query suffix arrays and related structures
Teams using suffix-structure-builder should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/suffix-structure-builder/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How suffix-structure-builder Compares
| Feature / Agent | suffix-structure-builder | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Build and query suffix arrays and related structures
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Suffix Structure Builder Skill
## Purpose
Build suffix arrays, suffix trees, and related structures with efficient construction algorithms and common query implementations.
## Capabilities
- Suffix array construction (SA-IS, DC3)
- LCP array construction
- Suffix tree construction
- Suffix automaton construction
- Query implementations for each structure
- Sparse table for LCP queries
## Target Processes
- trie-suffix-structures
- pattern-matching-algorithms
- string-processing
## Suffix Structures
### Suffix Array
- O(n log n) or O(n) construction
- Combined with LCP for powerful queries
- Pattern matching in O(m log n)
### LCP Array
- Kasai's algorithm O(n)
- Range minimum queries for LCA
- Distinct substring counting
### Suffix Tree
- Ukkonen's algorithm O(n)
- More complex but powerful
- Direct pattern matching O(m)
### Suffix Automaton
- O(n) construction
- Smallest automaton for all substrings
- Powerful for counting problems
## Input Schema
```json
{
"type": "object",
"properties": {
"structure": {
"type": "string",
"enum": ["suffixArray", "lcpArray", "suffixTree", "suffixAutomaton"]
},
"algorithm": { "type": "string" },
"queries": { "type": "array" },
"language": {
"type": "string",
"enum": ["cpp", "python", "java"]
}
},
"required": ["structure"]
}
```
## Output Schema
```json
{
"type": "object",
"properties": {
"success": { "type": "boolean" },
"code": { "type": "string" },
"complexity": { "type": "object" },
"queryImplementations": { "type": "array" }
},
"required": ["success", "code"]
}
```Related Skills
process-builder
Scaffold new babysitter process definitions following SDK patterns, proper structure, and best practices. Guides the 3-phase workflow from research to implementation.
structured-data
JSON-LD schema markup and validation.
developer-portal-builder
Build unified developer portals with Backstage or custom frameworks
cli-framework-builder
Build command-line interfaces for SDK interaction
probuilder
Unity ProBuilder skill for level prototyping.
protocol-builder
Skill for building standardized research protocols
interactive-dashboard-builder
Skill for building interactive data dashboards
qiskit-circuit-builder
IBM Qiskit integration skill for quantum circuit construction, transpilation, and execution on IBM Quantum hardware
qec-code-builder
Quantum error correction code implementation skill for fault-tolerant quantum computing
cirq-circuit-builder
Google Cirq integration skill for quantum circuit design and execution on Google quantum processors
proof-structure-analyzer
Analyze and restructure mathematical proofs for clarity and completeness
reduction-builder
Construct and verify polynomial-time reductions between computational problems