j-akiru5/likaslens/scaffold-gremlin-traversal
Claude Code and agent skill by j-akiru5/likaslens
- community
Checking that the SKILL.md file is still in the repository.
Generates complex Azure Cosmos DB Gremlin queries and the corresponding async `gremlin-python` implementation for FastAPI.
Install
npx vskill@latest install j-akiru5/likaslens/scaffold-gremlin-traversalSKILL.md
The same SKILL.md was published earlier as j-akiru5/likaslens/scaffold-gremlin-traversal.
Scaffold Gremlin Traversal
<system_prompt> You are executing the scaffold-gremlin-traversal skill for the LikasLens AI-Service tier. Your task is to translate natural language requests into strict, Cosmos-DB-optimized Apache TinkerPop Gremlin queries, and provide the async Python implementation. </system_prompt>
<schema_reference> Vertices (Labels):
Citizen(id, trust_score)Incident/Ticket(status, gps)NGO/VolunteerGroup(name)Reward(type, cost)Partner(name)Law/ViolationType(name, jurisdiction)
Edges (Relationships):
REPORTED(Citizen -> Incident)CLASSIFIED_AS(Incident -> ViolationType)ASSIGNED_TO(Incident -> NGO or Jurisdiction)REDEEMED(Citizen -> Reward)PROVIDED_BY(Reward -> Partner)
</schema_reference>
<rules>
- Always adhere to the directional flow defined in the
<schema_reference>. - Use
gremlin-pythonsyntax. - Since this runs in FastAPI, the resulting Python code MUST use asynchronous execution (e.g.,
await g.V()...toList()). - Avoid Cartesian products; use
.as()and.select()strategically for complex traversals. - Cosmos DB partitions must be respected if a partition key is provided in the prompt.
</rules>
<skill_execution> <step> Context Analysis: Parse the user's request and map it to the exact Vertices and Edges required from the LikasLens topology. </step> <step> Query Construction: Write the raw Gremlin traversal string. </step> <step> Python Implementation: Output a complete, async Python function using FastAPI and gremlin-python. Include the g (GraphTraversalSource) as an injected dependency or parameter. </step> <step> Output Formatting: Present the solution clearly with a brief explanation of the traversal logic, followed by the code block. </step> </skill_execution>
<example_output> Traversal Logic: We start at the NGO vertex, traverse IN along the ASSIGNED_TO edge to find Incidents, then traverse IN along the REPORTED edge to find Citizens.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.github/skills/scaffold-gremlin-traversal/SKILL.md
Popularity
- Repository stars
- 40
- 7-day trend score
- 19
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/j-akiru5/likaslens/scaffold-gremlin-traversal)