Pulled ALL skills from 15 source repositories: - anthropics/skills: 16 (docs, design, MCP, testing) - obra/superpowers: 14 (TDD, debugging, agents, planning) - coreyhaines31/marketingskills: 25 (marketing, CRO, SEO, growth) - better-auth/skills: 5 (auth patterns) - vercel-labs/agent-skills: 5 (React, design, Vercel) - antfu/skills: 16 (Vue, Vite, Vitest, pnpm, Turborepo) - Plus 13 individual skills from various repos Mosaic Stack is not limited to coding — the Orchestrator and subagents serve coding, business, design, marketing, writing, logistics, analysis, and more. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
120 lines
2.1 KiB
Markdown
120 lines
2.1 KiB
Markdown
---
|
|
name: setting-up
|
|
description: Project setup files including .gitignore, GitHub Actions workflows, and VS Code extensions. Use when initializing new projects or adding CI/editor config.
|
|
---
|
|
|
|
# Project Setup
|
|
|
|
## .gitignore
|
|
|
|
Create when `.gitignore` is not present:
|
|
|
|
```
|
|
*.log
|
|
*.tgz
|
|
.cache
|
|
.DS_Store
|
|
.eslintcache
|
|
.idea
|
|
.env
|
|
.nuxt
|
|
.temp
|
|
.output
|
|
.turbo
|
|
cache
|
|
coverage
|
|
dist
|
|
lib-cov
|
|
logs
|
|
node_modules
|
|
temp
|
|
```
|
|
|
|
## GitHub Actions
|
|
|
|
Add these workflows when setting up a new project. Skip if workflows already exist. All use [sxzz/workflows](https://github.com/sxzz/workflows) reusable workflows.
|
|
|
|
### Autofix Workflow
|
|
|
|
**`.github/workflows/autofix.yml`** - Auto-fix linting on PRs:
|
|
|
|
```yaml
|
|
name: autofix.ci
|
|
|
|
on: [pull_request]
|
|
|
|
jobs:
|
|
autofix:
|
|
uses: sxzz/workflows/.github/workflows/autofix.yml@v1
|
|
permissions:
|
|
contents: read
|
|
```
|
|
|
|
### Unit Test Workflow
|
|
|
|
**`.github/workflows/unit-test.yml`** - Run tests on push/PR:
|
|
|
|
```yaml
|
|
name: Unit Test
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
branches: [main]
|
|
|
|
permissions: {}
|
|
|
|
jobs:
|
|
unit-test:
|
|
uses: sxzz/workflows/.github/workflows/unit-test.yml@v1
|
|
```
|
|
|
|
### Release Workflow
|
|
|
|
**`.github/workflows/release.yml`** - Publish on tag (library projects only):
|
|
|
|
```yaml
|
|
name: Release
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- 'v*'
|
|
|
|
jobs:
|
|
release:
|
|
uses: sxzz/workflows/.github/workflows/release.yml@v1
|
|
with:
|
|
publish: true
|
|
permissions:
|
|
contents: write
|
|
id-token: write
|
|
```
|
|
|
|
## VS Code Extensions
|
|
|
|
Configure in `.vscode/extensions.json`:
|
|
|
|
```json
|
|
{
|
|
"recommendations": [
|
|
"dbaeumer.vscode-eslint",
|
|
"antfu.pnpm-catalog-lens",
|
|
"antfu.iconify",
|
|
"antfu.unocss",
|
|
"antfu.slidev",
|
|
"vue.volar"
|
|
]
|
|
}
|
|
```
|
|
|
|
| Extension | Description |
|
|
|-----------|-------------|
|
|
| `dbaeumer.vscode-eslint` | ESLint integration for linting and formatting |
|
|
| `antfu.pnpm-catalog-lens` | Shows pnpm catalog version hints inline |
|
|
| `antfu.iconify` | Iconify icon preview and autocomplete |
|
|
| `antfu.unocss` | UnoCSS IntelliSense and syntax highlighting |
|
|
| `antfu.slidev` | Slidev preview and syntax highlighting |
|
|
| `vue.volar` | Vue Language Features |
|