Skip to content

[BUG] Multiline description in frontmatter not parsed correctly #69

@jvanderwee

Description

@jvanderwee

Bug Description
Multiline description in frontmatter not parsed correctly

Steps to Reproduce

  1. openskills install apollographql/skills
  2. install apollo-kotlin
  3. openskills sync

Expected Behavior
AGENTS.md includes:

<skill>
<name>apollo-kotlin</name>
<description>
Guide for building applications with Apollo Kotlin, the GraphQL client library for Android and Kotlin. Use this skill when:
  (1) setting up Apollo Kotlin in a Gradle project for Android, Kotlin/JVM, or KMP,
  (2) configuring schema download and codegen for GraphQL services,
  (3) configuring an `ApolloClient` with auth, interceptors, and caching,
  (4) writing queries, mutations, or subscriptions,
</description>
<location>project</location>
</skill>

Actual Behavior

<skill>
<name>apollo-kotlin</name>
<description>></description>
<location>project</location>
</skill>

Environment

  • openskills version: (openskills --version) 1.5.0
  • Operating System: macOS 26.2
  • Node.js version: (node --version) 25.2.1
  • AI agent: (Claude Code, Cursor, Windsurf, Aider, etc.)

Installation Context

  • Global install (npm i -g openskills)
  • Local install via npm link
  • Installed skills: (list from openskills list)

Additional Context
frontmatter:

---
name: apollo-kotlin
description: >
  Guide for building applications with Apollo Kotlin, the GraphQL client library for Android and Kotlin. Use this skill when:
  (1) setting up Apollo Kotlin in a Gradle project for Android, Kotlin/JVM, or KMP,
  (2) configuring schema download and codegen for GraphQL services,
  (3) configuring an `ApolloClient` with auth, interceptors, and caching,
  (4) writing queries, mutations, or subscriptions,
license: MIT
compatibility: JVM 8+, Kotlin 1.9+, Gradle 8+, Android/JVM/Kotlin Multiplatform projects.
metadata:
  author: apollographql
  version: "1.0.1"
allowed-tools: Bash(./gradlew:*) Bash(gradle:*) Bash(curl:*) Read Write Edit Glob Grep WebFetch
---

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions