Skip to content

[Core] Support YAML-based archetype files #17

Description

@SaharPak

Allow archetypes to be defined in .yml files instead of only in TypeScript.

Why: This makes it much easier for non-developers to contribute archetypes. They can submit a YAML file without knowing TypeScript.

Format:

id: mobile-engineer
name: Mobile Engineer
description: iOS/Android engineers
keywords:
  - swift
  - kotlin
  - react native
evaluationWeights:
  shippedEvidence: 0.25
  quantifiedImpact: 0.20
  # ...
actionVerbs:
  - Built
  - Shipped
antiPatterns:
  - 'familiar with mobile development'

Implementation:

  • Add a loader that reads from archetypes/*.yml
  • Validate against the RoleArchetype interface
  • Register them alongside the built-in ones

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    coreCore engine logicenhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions