You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
docs(ad-hoc): add project documentation and agent instructions - #554
The repository had no internal documentation for contributors or coding agents. This PR adds a docs/ folder with a
development setup guide, a phone number metadata guide and a writing style guide, and adds agent instructions.
Solution
Add docs/README.md as the index of internal documentation, and link to it from the root README.md.
Add docs/development.md, and move the setup steps from the root README.md into it. The guide adds the Homebrew
tools and why the project needs them, the iOS 26 simulator requirement, and how to run tests without credentials.
Add docs/phone-number-metadata.md. The guide describes how to update the phone number metadata from PhoneNumberKit
with Scripts/PhoneNumberMetadata/Update.sh, and how to review the change.
Add docs/writing-style.md. The guide applies the writing principles of ASD-STE100 to documentation, DocC articles,
code documentation, READMEs, agent instructions, commits and pull requests.
Add AGENTS.md with 2 sections: how to use the project documentation, and how to verify a change. The verification
section points to docs/development.md and adds rules for agents only.
Add CLAUDE.md, which imports AGENTS.md. Claude Code then loads the same instructions as other agents.
Rewrite the root README.md to follow the guide. The note about the UI migration now says that the UIKit UI in ProcessOut is deprecated.
Notes
Existing DocC articles and code documentation do not follow the guide yet. A separate pass will update them.
Markdown prose wraps at 120 columns. Tables, headings and code blocks may exceed the limit.
The sample test credentials in the old README are replaced with placeholders.
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
The contributor instructions omit the required xcpretty installation and a credential-free test strategy that covers all modules despite the script exiting on the first integration-test failure.
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
The integration-test setup documentation omits required fixtures and hard-coded ID replacements, making missing fixtures difficult to distinguish from SDK failures.
No open issues 🎉
1 previously missed issue
In code that hasn't changed since last review
Document required integration test fixtures and local ID replacements
docs/development.md:45
Setting these constants to a contributor's test project is not sufficient to run the integration suites. GatewayConfigurationsRepositoryTests.swift:36,50 and DefaultCardUpdateInteractorTests.swift:250 still use hard-coded gateway configuration and card IDs, which must exist in the selected project. Document the required fixtures and local ID replacements so contributors can distinguish missing fixtures from SDK failures.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The repository had no internal documentation for contributors or coding agents. This PR adds a
docs/folder with adevelopment setup guide, a phone number metadata guide and a writing style guide, and adds agent instructions.
Solution
docs/README.mdas the index of internal documentation, and link to it from the rootREADME.md.docs/development.md, and move the setup steps from the rootREADME.mdinto it. The guide adds the Homebrewtools and why the project needs them, the iOS 26 simulator requirement, and how to run tests without credentials.
docs/phone-number-metadata.md. The guide describes how to update the phone number metadata from PhoneNumberKitwith
Scripts/PhoneNumberMetadata/Update.sh, and how to review the change.docs/writing-style.md. The guide applies the writing principles of ASD-STE100 to documentation, DocC articles,code documentation, READMEs, agent instructions, commits and pull requests.
AGENTS.mdwith 2 sections: how to use the project documentation, and how to verify a change. The verificationsection points to
docs/development.mdand adds rules for agents only.CLAUDE.md, which importsAGENTS.md. Claude Code then loads the same instructions as other agents.README.mdto follow the guide. The note about the UI migration now says that the UIKit UI inProcessOutis deprecated.Notes
Jira Issue
None.