@yottagraph-app/elemental-api-skill
v1.1.2
Published
Elemental API skill documentation for AI agents
Downloads
316
Readme
@lovelace-ai/elemental-api-skill
Elemental API skill documentation for AI agents. This package provides structured documentation that can be used by AI agents to understand and interact with the Elemental API.
Installation
npm install @lovelace-ai/elemental-api-skillUsage
const { paths, files, getSkillFile } = require('@lovelace-ai/elemental-api-skill');
// Get path to main skill entry point
console.log(paths.skill); // Path to SKILL.md
// Get path to overview
console.log(paths.overview); // Path to overview.md
// List all skill files
console.log(files); // ['SKILL.md', 'overview.md', 'articles.md', ...]
// Get path to a specific skill file
console.log(getSkillFile('articles')); // Path to articles.mdSkill Files
SKILL.md- Main entry point describing when to use this skilloverview.md- API concepts and file guidearticles.md- News mentions and article contententities.md- Entity lookup, details, and propertiesevents.md- Events involving entitiesgraph.md- Visual network graphsrelationships.md- Entity connectionssentiment.md- Sentiment analysisserver.md- Server status and capabilities
Development
The skill files are sourced from moongoose/query/api/skill/ in the lovelace repo.
Important: Use the Cursor command instead of running these commands manually.
In Cursor, run the command defined in
.cursor/commands/elemental_api_update.mdwhich handles the full workflow: regenerating specs from Go annotations, updating skill docs, running tests, and optionally syncing/publishing packages.
# Manually sync skill files (also runs automatically before publish)
npm run sync
# Publish (syncs skill files automatically via prepublishOnly hook)
npm publish