AgentSkillsCN

journey

将 BDD 旅程功能文件作为特定角色的项目上下文加载。当用户调用“/journey <角色>”时使用,其中角色可以是维护者、贡献者或开发者。系统会从 bdd/journeys/<角色>/ 加载所有 .feature 文件,作为实时文档的上下文。例如,“/journey maintainer”会加载项目规则(BDD 工作流、规范、测试、环境、发布、架构);“/journey contributor”会加载构建与设置规范;“/journey developer”会加载 SDK 使用规范。

SKILL.md
--- frontmatter
name: journey
description: Load BDD journey feature files as project context for a specific role. Use when the user invokes "/journey <role>" where role is maintainer, contributor, or developer. Loads all .feature files from bdd/journeys/<role>/ as living documentation context. Examples - "/journey maintainer" loads project rules (BDD workflow, conventions, testing, environment, release, architecture), "/journey contributor" loads build and setup specs, "/journey developer" loads SDK usage specs.

Journey Context Loader

Load all BDD feature files for a role as working context.

Usage

Run the loader script with the role argument:

bash
bun SKILL_DIR/scripts/load-features.ts <role>

Roles: maintainer, contributor, developer

After Loading

  • The feature files ARE the documentation. Use them as the source of truth for all project rules and conventions.
  • When the user asks about project norms, answer from the loaded features.
  • When implementing code, check loaded features for relevant constraints.