Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions .cc-marketspec/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/dist/
3 changes: 2 additions & 1 deletion catalog.yaml → .cc-marketspec/catalog.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# Marketplace-level presentation data. Native metadata (name/owner) lives in
# .claude-plugin/marketplace.json and is NOT restated here.
schemaVersion: "1.0"
schemaVersion: "1.1"
lang: en
groups:
- id: knowledge
label: Knowledge & Memory
note: Personal knowledge base and memory retrieval

# Optional: tune the coverage gate. Keys are <component>.<field> or "*".
# coverage:
# skill.trigger: warn
2 changes: 1 addition & 1 deletion entry.yaml → .cc-marketspec/entries/plugin-cortex.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Presentation overlay for cortex. Every field is optional — native data
# already yields a valid manifest; this only enriches it.
# yaml-language-server: $schema=node_modules/@xbluesky/cc-marketspec/schemas/entry.schema.json
# yaml-language-server: $schema=../../node_modules/@xbluesky/cc-marketspec/schemas/entry.schema.json

group: knowledge

Expand Down
37 changes: 30 additions & 7 deletions .github/workflows/site.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,37 @@
name: Site

# 網站 CI。部署由 Cloudflare Pages 的 Git 整合負責(CF 後台連本 repo,
# 監聽 push 後自行跑 `node site/build.mjs` 並發佈),此 workflow 不部署,
# 只在 push / PR 時跑測試 + smoke build,當作合併前的品質關卡。
# 監聽 push 後自行生成 marketplace manifest、build 並發佈)。此 workflow
# 不部署,只在 push / PR 時驗證 authored data、生成 manifest、跑測試與
# smoke build,當作合併前的品質關卡。
#
# CF Pages 設定見 site/README.md。網站零 npm 依賴,只用 Node 內建,故無 install。
# CF Pages 設定見 site/README.md。

on:
push:
branches: [feat/website-site, plugin]
paths:
- 'site/**'
- 'manifest.json'
- '.cc-marketspec/**'
- '.claude-plugin/**'
- 'skills/**'
- 'commands/**'
- 'hooks/**'
- 'package.json'
- 'package-lock.json'
- 'CHANGELOG.md'
- 'docs/images/architecture.png'
- '.github/workflows/site.yml'
pull_request:
paths:
- 'site/**'
- 'manifest.json'
- '.cc-marketspec/**'
- '.claude-plugin/**'
- 'skills/**'
- 'commands/**'
- 'hooks/**'
- 'package.json'
- 'package-lock.json'
- 'CHANGELOG.md'
- '.github/workflows/site.yml'
workflow_dispatch: # 允許手動觸發(Actions 分頁 → Run workflow)
Expand All @@ -28,14 +41,24 @@ permissions:

jobs:
test:
name: Test + smoke build
name: Validate + test + smoke build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: '24'
node-version: '22'
cache: npm

- name: Install build tooling
run: npm ci

- name: Validate marketplace data
run: npx --no-install cc-marketspec --check

- name: Generate marketplace manifest
run: npx --no-install cc-marketspec

- name: Unit tests
run: node --test site/tests/*.test.mjs
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ __pycache__/
*.pyc
*.egg-info/

# Node dependencies for cc-marketspec build tooling
node_modules/

# Working design / plan / spec docs — process artifacts, keep local only
# (docs/images/ stays tracked; only the design-doc dirs are excluded)
docs/superpowers/
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ This sets the vault path and author info, and builds the semantic index.
## Website

Live docs and changelog: <https://cortexes.pages.dev> (Cloudflare Pages,
generated from `manifest.json`).
generated from `.cc-marketspec/dist/manifest.json`).
See [`site/README.md`](site/README.md) for local builds.

## Commands & Skills
Expand Down
2 changes: 1 addition & 1 deletion README.zh-TW.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ pip install -e "$(ls -d ~/.claude/plugins/cache/cortex/cortex/*/cortex-vec | sor

## 官網

線上文件與 changelog:<https://cortexes.pages.dev>(Cloudflare Pages,從 `manifest.json` 自動生成)。
線上文件與 changelog:<https://cortexes.pages.dev>(Cloudflare Pages,從 `.cc-marketspec/dist/manifest.json` 自動生成)。
本地 build 見 [`site/README.md`](site/README.md)。

## Commands & Skills
Expand Down
166 changes: 0 additions & 166 deletions manifest.json

This file was deleted.

Loading
Loading