From 67e8e46b8b72286c85b979753b59c6382d418790 Mon Sep 17 00:00:00 2001 From: Ashik K Date: Sat, 18 Oct 2025 12:47:51 +0200 Subject: [PATCH] Move Claude Code configuration to project root MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove .claude directory from git tracking - Add .claude/ and chats-summary.txt to .gitignore - Claude Code commands now live at ~/Documents/claude/jellyflood/.claude - Keeps local tooling separate from project repository Related: jellyflood-1 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .claude/commands/build.md | 44 ------------------------------------ .claude/commands/init-dev.md | 17 -------------- .claude/commands/sim.md | 41 --------------------------------- .gitignore | 6 +++++ 4 files changed, 6 insertions(+), 102 deletions(-) delete mode 100644 .claude/commands/build.md delete mode 100644 .claude/commands/init-dev.md delete mode 100644 .claude/commands/sim.md diff --git a/.claude/commands/build.md b/.claude/commands/build.md deleted file mode 100644 index 89c42f1b..00000000 --- a/.claude/commands/build.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -description: Build jellypig tvOS (debug or release) ---- - -Build jellypig tvOS for the simulator. Takes an optional configuration argument: -- `debug` (default) - Fast build with debugging symbols -- `release` - Optimized build for distribution - -Usage: -- `/build` - Build in Debug configuration (default) -- `/build debug` - Build in Debug configuration (explicit) -- `/build release` - Build in Release configuration - -Steps to execute: -1. Parse the configuration argument (default to "debug" if not provided or invalid) -2. Validate the configuration is either "debug" or "release" (case-insensitive) -3. Run xcodebuild with the specified configuration: - ```bash - cd /Users/ashikkizhakkepallathu/Documents/claude/jellypig/jellypig - - # For debug: - xcodebuild -project jellypig.xcodeproj \ - -scheme "jellypig tvOS" \ - -sdk appletvsimulator \ - -configuration Debug \ - -derivedDataPath ./DerivedData \ - clean build \ - CODE_SIGNING_ALLOWED=NO - - # For release: - xcodebuild -project jellypig.xcodeproj \ - -scheme "jellypig tvOS" \ - -sdk appletvsimulator \ - -configuration Release \ - -derivedDataPath ./DerivedData \ - clean build \ - CODE_SIGNING_ALLOWED=NO - ``` -4. Report build status (success or failure) -5. Display the output path of the built app - -Expected output location: -- Debug: `./DerivedData/Build/Products/Debug-appletvsimulator/jellypig tvOS.app` -- Release: `./DerivedData/Build/Products/Release-appletvsimulator/jellypig tvOS.app` diff --git a/.claude/commands/init-dev.md b/.claude/commands/init-dev.md deleted file mode 100644 index f6651f1c..00000000 --- a/.claude/commands/init-dev.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -description: Initialize development session by reading project context and displaying available commands ---- - -Read the chats-summary.txt file from the parent directory (/Users/ashikkizhakkepallathu/Documents/claude/jellypig/chats-summary.txt) to understand the project context, then display a quick summary of what you can help with. - -Steps: -1. Read /Users/ashikkizhakkepallathu/Documents/claude/jellypig/chats-summary.txt -2. Display a concise summary including: - - Project name and description - - Available custom slash commands (/build, /sim, etc.) - - Recent features implemented - - Key configuration details (Bundle ID, Simulator UUID, etc.) - - Build method: **Command-line builds work** via xcodebuild (no Xcode GUI required) - - Common tasks you can help with - -Make the output brief and actionable - focus on what's immediately useful for the developer. diff --git a/.claude/commands/sim.md b/.claude/commands/sim.md deleted file mode 100644 index 06d52a62..00000000 --- a/.claude/commands/sim.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -description: Build and launch jellypig tvOS in simulator ---- - -Build the latest version of jellypig tvOS in Debug configuration, install it on the Apple TV simulator, and launch it. - -Steps: -1. First, build the project using the same approach as `/build debug`: - ```bash - cd /Users/ashikkizhakkepallathu/Documents/claude/jellypig/jellypig - xcodebuild -project jellypig.xcodeproj \ - -scheme "jellypig tvOS" \ - -sdk appletvsimulator \ - -configuration Debug \ - -derivedDataPath ./DerivedData \ - clean build \ - CODE_SIGNING_ALLOWED=NO - ``` - -2. Boot the Apple TV simulator: - ```bash - xcrun simctl boot 16A71179-729D-4F1B-8698-8371F137025B 2>/dev/null || true - ``` - -3. Open Simulator.app: - ```bash - open -a Simulator - ``` - -4. Install the built app on the simulator: - ```bash - xcrun simctl install 16A71179-729D-4F1B-8698-8371F137025B \ - "./DerivedData/Build/Products/Debug-appletvsimulator/jellypig tvOS.app" - ``` - -5. Launch the app: - ```bash - xcrun simctl launch 16A71179-729D-4F1B-8698-8371F137025B org.ashik.jellypig - ``` - -Report build and launch status. If any step fails, provide clear error message. diff --git a/.gitignore b/.gitignore index 511775b0..92430fe5 100644 --- a/.gitignore +++ b/.gitignore @@ -101,3 +101,9 @@ Shared/Generated/Strings.swift .idea Carthage/Build/ + +# Claude Code local configuration +.claude/ + +# Local session notes (stored in parent directory) +chats-summary.txt