chore: bootstrap Claude setup

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
dasemuandClaude Sonnet 5 committed 2026-10-18 11:41:26 +02:00
commit 9af6a7639e
10 files changed
+148

No files matched your search

+1
View File
@@ -0,0 +1 @@
2
+25
View File
@@ -0,0 +1,25 @@
{
"hooks": {
"PostToolUse": [
{
"matcher": "Edit|Write",
"hooks": [
{
"type": "command",
"command": "echo 'No formatter/linter configured yet for this repo; skipping.'"
}
]
}
],
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "echo 'No test runner or linter configured yet for this repo; nothing to check.'"
}
]
}
]
}
}
+2
View File
@@ -0,0 +1,2 @@
# No environment variables are used yet.
# Add them here (names only, no real values) as soon as the code reads any.
+17
View File
@@ -0,0 +1,17 @@
name: CI
on:
pull_request:
branches: [development]
push:
branches: [development, main]
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: No lint/test tooling configured yet
run: |
echo "This repository has no source code, package manager, linter, or test runner yet."
echo "Add real lint/test steps here once the stack is chosen."
+65
View File
@@ -0,0 +1,65 @@
name: Version bump
on:
push:
branches: [development, main]
permissions:
contents: write
jobs:
bump:
if: github.actor != 'github-actions[bot]' && !contains(github.event.head_commit.message, '[skip ci]')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}
- name: Configure git
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
- name: Bump version
id: bump
run: |
set -e
CURRENT=$(cat VERSION)
MAJOR=$(echo "$CURRENT" | cut -d. -f1)
MINOR=$(echo "$CURRENT" | cut -d. -f2)
PATCH=$(echo "$CURRENT" | cut -d. -f3)
if [ "${{ github.ref_name }}" = "development" ]; then
PATCH=$((PATCH + 1))
elif [ "${{ github.ref_name }}" = "main" ]; then
# Did this push bring in commits that all come from development
# (i.e. an approved development -> main PR merge)?
PARENTS=$(git log -1 --pretty=%P HEAD)
PARENT_COUNT=$(echo "$PARENTS" | wc -w)
if [ "$PARENT_COUNT" -gt 1 ] && [ "${{ github.event.head_commit.message }}" != "" ] && git log -1 --pretty=%B | grep -qi "development"; then
MINOR=$((MINOR + 1))
PATCH=0
else
PATCH=$((PATCH + 1))
fi
fi
NEW_VERSION="$MAJOR.$MINOR.$PATCH"
echo "$NEW_VERSION" > VERSION
echo "new_version=$NEW_VERSION" >> "$GITHUB_OUTPUT"
- name: Commit version bump
run: |
git add VERSION
git commit -m "chore(release): v${{ steps.bump.outputs.new_version }} [skip ci]"
git push origin HEAD:${{ github.ref_name }}
- name: Merge main back into development
if: github.ref_name == 'main'
run: |
git fetch origin development
git checkout development
git merge --no-edit main
git push origin development
+27
View File
@@ -0,0 +1,27 @@
# CLAUDE.md
## Overview
`faust-vn` is a new, currently empty repository. No source code, language, or
stack has been chosen yet. Update this file once the project structure exists.
## Commands
No package manager, test runner, linter, or build tool is set up yet. Add the
actual commands here as soon as the stack is chosen.
## Architecture
Not applicable yet — no code exists. See `docs/` for any design notes once
they are written.
## Conventions
Follow the global `~/.claude/CLAUDE.md` conventions (Conventional Commits,
English in the repo, minimal diffs) until project-specific conventions are
needed.
## Workflow quirks
None yet.
## Deployment
Not set up yet. If this becomes a web service, use the `web-deploy` skill.
## Gotchas
None yet.
+6
View File
@@ -0,0 +1,6 @@
# LESSONS.md
Recurring mistakes and how to avoid them. Read before starting a task; add an
entry whenever the same mistake happens twice.
(No entries yet.)
+4
View File
@@ -0,0 +1,4 @@
# faust-vn
Project scaffold — no code yet. See `CLAUDE.md` for working conventions and
`docs/` for documentation as it is added.
+1
View File
@@ -0,0 +1 @@
0.1.0
View File
Whitespace-only changes.