Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: CI

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Validate skills
run: ./scripts/validate-skills.sh

- name: Pack skills
run: ./scripts/pack-skills.sh

- name: Verify zip integrity
run: |
for zip in dist/skills/*.zip; do
echo "Verifying $zip"
unzip -t "$zip"
done
36 changes: 36 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Release

on:
push:
tags:
- 'v[0-9]*'

permissions:
contents: write

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Validate skills
run: ./scripts/validate-skills.sh

- name: Pack skills
run: ./scripts/pack-skills.sh

- name: Verify zip integrity
run: |
for zip in dist/skills/*.zip; do
unzip -t "$zip"
done

- name: Create GitHub Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release create "${{ github.ref_name }}" \
dist/skills/*.zip \
--title "${{ github.ref_name }}" \
--generate-notes
Comment thread
faction23 marked this conversation as resolved.
17 changes: 5 additions & 12 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
.svn/
.agents/
.specs/
tmp/
.idea/
codeception.yml
composer.json
composer.lock
/vendor
/.agents/
/.specs/
/.sisyphus/
/.idea/
.DS_Store
.env
/node_modules
**/node_modules
local-config.json
dist/
45 changes: 45 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# AGENTS.md

## Project Overview

Public skills repository for Gravity products. Pure content repo — no build tooling or package manager required. Skills are distributed via GitHub Releases (zips). The `@gravity/skills` CLI lives in the Gravity Monorepo.

## Critical Warnings

- **`dist/` is GENERATED** — never edit or commit. Built by `scripts/pack-skills.sh`.
- **`.agents/`, `.specs/`, `.sisyphus/` are PRIVATE** — gitignored, never commit. These contain local-only skills, specs, and plans.

## Commands

```bash
# Validate all skills
./scripts/validate-skills.sh

# Pack skills into dist/skills/*.zip
./scripts/pack-skills.sh
```

## Code Style Highlights

- **Tabs** for indentation

## Publishing

| Channel | Workflow | Trigger |
|---------|----------|---------|
| GitHub Releases (zips) | `.github/workflows/release.yml` | `v*` tag push |

## Skills Directory Structure

Skills live in `skills/` and must follow the Agent Skills spec:

- **Name**: lowercase, hyphens only, 1-64 chars, no consecutive hyphens
- **Directory name must match** the `name` field in SKILL.md frontmatter
- **Required file**: `SKILL.md` with YAML frontmatter (`name`, `description`)
- **Optional**: `references/` subdirectory for supporting files (included in zips)

## Commit Convention

Use conventional-style prefixes: `feat`, `fix`, `chore`, `docs`, `test`, `refactor`

Format: `<type>: <subject>` — present tense, imperative mood, no period.
Loading
Loading