Skip to content

Conversation

bluntbrain
Copy link
Contributor

Description

adding api to return available skills with schema

Type of Change

  • Bugfix
  • New Feature
  • Improvement
  • Documentation Update

Checklist

  • I have read the contributing guidelines.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@Copilot Copilot AI review requested due to automatic review settings July 7, 2025 04:53
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Adds a new read-only API endpoint to list available skills with a detailed schema-backed response model.

  • Introduce BasicSkill and related Pydantic models for richer skill metadata
  • Load and parse schema.json files for each skill, caching results
  • Replace DB query with file-based processing using skill_processor utilities
Comments suppressed due to low confidence (1)

app/admin/metadata.py:163

  • This new API endpoint does not appear to have any tests. Please add unit tests to cover typical and error scenarios for /metadata/skills.
async def get_skills():

@crestalnetwork crestalnetwork deleted a comment from Copilot AI Jul 7, 2025
@crestalnetwork crestalnetwork deleted a comment from Copilot AI Jul 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant