Skip to content

docs: add CLAUDE.md for Claude Code guidance#13

Merged
2sem merged 1 commit intomainfrom
add-claude-md
Mar 10, 2026
Merged

docs: add CLAUDE.md for Claude Code guidance#13
2sem merged 1 commit intomainfrom
add-claude-md

Conversation

@2sem
Copy link
Owner

@2sem 2sem commented Mar 10, 2026

Summary

  • Adds CLAUDE.md to guide future Claude Code sessions in this repository
  • Covers build/lint/release commands, architecture overview, ad lifecycle, timing constants, delegate contract, and CI workflows

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@2sem 2sem merged commit 2b848e4 into main Mar 10, 2026
2 checks passed
@github-actions
Copy link

🤖 Hi @2sem, I've received your request, and I'm working on it now! You can track my progress in the logs for more details.

@2sem 2sem deleted the add-claude-md branch March 10, 2026 05:22
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

## 📋 Review Summary

This PR introduces a CLAUDE.md file to provide architectural and operational context for Claude Code. The document is comprehensive, accurate, and provides essential information for future development and maintenance of the library.

🔍 General Feedback

  • High Accuracy: The documentation accurately reflects the current library architecture, build process, and configuration constants.
  • Good Coverage: It covers key areas like the ad lifecycle, delegate contracts, and distribution methods (SPM and CocoaPods).
  • Typo Consistency: I noticed that some naming conventions in the documentation (like opeingExpireInterval) match the implementation in the codebase, even though they contain typos. I've suggested a correction for the documentation, but you may want to address these in the code itself during a future refactor.


**Key timing constants:**
- `defaultInterval`: 1 hour between interstitial/reward shows
- `opeingExpireInterval`: 4 hours (5 min in DEBUG) — AppOpen ad validity window after loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Typo: `opeingExpireInterval` should be `openingExpireInterval`.

Note that this typo currently exists in the implementation in GADManager.swift. You may want to consider refactoring the code to the correct spelling to ensure consistency and readability in the future.

Suggested change
- `opeingExpireInterval`: 4 hours (5 min in DEBUG) — AppOpen ad validity window after loading
- `openingExpireInterval`: 4 hours (5 min in DEBUG) — AppOpen ad validity window after loading

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant