## 1. Project Overview & Quickstart (earendil-works/sdk)

## 1. Project Overview & Quickstart (earendil-works/sdk)

# Technical Documentation: earendil-works/sdk

> ℹ️ **Provenance:** Multi-Tier Ingestion · [CodeWiki Reference](https://codewiki.google/github.com/earendil-works/sdk)

# sdk

### Agent Skills & Rules
- Discovered 21 agent rule(s) and prompt configurations.



--- METRICS ---
- Files Extracted: 1
- Estimated Token Budget: ~23 tokens
- Canonical Reference: https://codewiki.google/github.com/earendil-works/sdk


## 2. Official Technical Reference & Guides (earendil-works/earendil-works.github.io)

## File: README.md

# earendil-works.github.io

The index of Earendil's open source projects, published at
<https://earendil-works.github.io/>. It links to each project's GitHub
repository and, where one exists, its documentation site.

Built with [Astro](https://astro.build/) and Earendil's design system,
[Elanor](https://github.com/earendil-works/elanor), installed from npm. Pages are
rendered to static HTML at build time; no JavaScript ships to the browser.

## Adding a project

Edit [`src/projects.ts`](src/projects.ts).

## Development

```sh
npm install
npm run dev     # local dev server
npm run check   # type check
npm run build   # static site in dist/
```

Or use the Makefile: `make serve`, `make check`, `make build`, `make preview`,
`make clean`.

Pushes to `main` deploy to GitHub Pages through
[`.github/workflows/deploy.yml`](.github/workflows/deploy.yml). In the
repository settings, set Pages' source to "GitHub Actions".

---

## File: package.json

{
  "name": "earendil-works.github.io",
  "version": "0.0.0",
  "private": true,
  "type": "module",
  "scripts": {
    "dev": "astro dev",
    "build": "astro build",
    "preview": "astro preview",
    "check": "astro check"
  },
  "dependencies": {
    "@astrojs/react": "^7.1.4",
    "@earendil-works/design-tokens": "^0.1.0",
    "@earendil-works/elanor-fonts": "^0.1.0",
    "@earendil-works/elanor-react": "^0.1.0",
    "astro": "^7.4.7",
    "react": "^19.3.1",
    "react-dom": "^19.3.1"
  },
  "devDependencies": {
    "@astrojs/check": "^0.9.12",
    "@types/react": "^19.3.0",
    "@types/react-dom": "^19.3.0",
    "typescript": "^6.0.3"
  }
}

---

## File: tsconfig.json

{
  "extends": "astro/tsconfigs/strict",
  "include": [".astro/types.d.ts", "**/*"],
  "exclude": ["dist"],
  "compilerOptions": {
    "jsx": "react-jsx",
    "jsxImportSource": "react"
  }
}

---

## File: .github/workflows/deploy.yml

name: Deploy

on:
  push:
    branches: [main]
  workflow_dispatch:

permissions:
  contents: read
  pages: write
  id-token: write

concurrency:
  group: pages
  cancel-in-progress: false

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
      - uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
        with:
          node-version-file: .nvmrc
          cache: npm
      - run: npm ci
      - run: npm run check
      - run: npm run build
      - uses: actions/configure-pages@45bfe0192ca1faeb007ade9deae92b16b8254a0d # v6.0.0
      - uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0
        with:
          path: dist

  deploy:
    needs: build
    runs-on: ubuntu-latest
    environment:
      name: github-pages
      url: ${{ steps.deployment.outputs.page_url }}
    steps:
      - id: deployment
        uses: actions/deploy-pages@368f82528645a54fb793d4d04e342629a3f51346 # v5.0.1

## 2. Official Technical Reference & Guides (earendil-works/earendil-works.github.io)

## File: README.md

# earendil-works.github.io

The index of Earendil's open source projects, published at
<https://earendil-works.github.io/>. It links to each project's GitHub
repository and, where one exists, its documentation site.

Built with [Astro](https://astro.build/) and Earendil's design system,
[Elanor](https://github.com/earendil-works/elanor), installed from npm. Pages are
rendered to static HTML at build time; no JavaScript ships to the browser.

## Adding a project

Edit [`src/projects.ts`](src/projects.ts).

## Development

```sh
npm install
npm run dev     # local dev server
npm run check   # type check
npm run build   # static site in dist/
```

Or use the Makefile: `make serve`, `make check`, `make build`, `make preview`,
`make clean`.

Pushes to `main` deploy to GitHub Pages through
[`.github/workflows/deploy.yml`](.github/workflows/deploy.yml). In the
repository settings, set Pages' source to "GitHub Actions".

---

## File: package.json

{
  "name": "earendil-works.github.io",
  "version": "0.0.0",
  "private": true,
  "type": "module",
  "scripts": {
    "dev": "astro dev",
    "build": "astro build",
    "preview": "astro preview",
    "check": "astro check"
  },
  "dependencies": {
    "@astrojs/react": "^7.1.4",
    "@earendil-works/design-tokens": "^0.1.0",
    "@earendil-works/elanor-fonts": "^0.1.0",
    "@earendil-works/elanor-react": "^0.1.0",
    "astro": "^7.4.7",
    "react": "^19.3.1",
    "react-dom": "^19.3.1"
  },
  "devDependencies": {
    "@astrojs/check": "^0.9.12",
    "@types/react": "^19.3.0",
    "@types/react-dom": "^19.3.0",
    "typescript": "^6.0.3"
  }
}

---

## File: tsconfig.json

{
  "extends": "astro/tsconfigs/strict",
  "include": [".astro/types.d.ts", "**/*"],
  "exclude": ["dist"],
  "compilerOptions": {
    "jsx": "react-jsx",
    "jsxImportSource": "react"
  }
}

---

## File: .github/workflows/deploy.yml

name: Deploy

on:
  push:
    branches: [main]
  workflow_dispatch:

permissions:
  contents: read
  pages: write
  id-token: write

concurrency:
  group: pages
  cancel-in-progress: false

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
      - uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
        with:
          node-version-file: .nvmrc
          cache: npm
      - run: npm ci
      - run: npm run check
      - run: npm run build
      - uses: actions/configure-pages@45bfe0192ca1faeb007ade9deae92b16b8254a0d # v6.0.0
      - uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0
        with:
          path: dist

  deploy:
    needs: build
    runs-on: ubuntu-latest
    environment:
      name: github-pages
      url: ${{ steps.deployment.outputs.page_url }}
    steps:
      - id: deployment
        uses: actions/deploy-pages@368f82528645a54fb793d4d04e342629a3f51346 # v5.0.1