Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
c0efaa6 to
54cfae5
Compare
e7f67f3 to
2da2ad3
Compare
2732c01 to
83fe5c4
Compare
f4e9275 to
294da99
Compare
83fe5c4 to
7be6436
Compare
Greptile OverviewGreptile SummaryAdded a comprehensive Claude Code skill for Grid API operations. The skill enables Claude to execute API operations via CLI, answer documentation questions, and guide users through payment workflows. The PR includes the main skill file with CLI command reference, endpoint documentation, country-specific account requirements, and workflow guides for common payment scenarios. Key additions:
Previous feedback addressed:
Confidence Score: 5/5
|
| Filename | Overview |
|---|---|
| .claude/skills/grid-api/SKILL.md | New Claude skill file with comprehensive CLI documentation, includes build prerequisites as noted in previous thread |
| README.md | Added Claude Code skill section with setup instructions and build step, addresses previous feedback |
Sequence Diagram
sequenceDiagram
participant User
participant Claude
participant Skill as Grid API Skill
participant CLI as CLI Tool
participant API as Grid API
User->>Claude: Ask to send payment to Mexico
Claude->>Skill: Invoke /grid-api skill
Skill->>Skill: Read references/account-types.md<br/>(check Mexico requirements)
Skill->>Claude: Show CLABE requirements
Claude->>User: Ask for CLABE number & beneficiary details
User->>Claude: Provide account details
Claude->>CLI: node cli/dist/index.js accounts external create
CLI->>API: POST /customers/external-accounts
API-->>CLI: ExternalAccount created
CLI-->>Claude: Account created response
Claude->>CLI: node cli/dist/index.js quotes create
CLI->>API: POST /quotes
API-->>CLI: Quote with exchange rate
CLI-->>Claude: Quote details
Claude->>User: Show exchange rate & confirm
User->>Claude: Confirm
Claude->>CLI: node cli/dist/index.js quotes execute
CLI->>API: POST /quotes/{id}/execute
API-->>CLI: Transaction initiated
CLI-->>Claude: Transaction status
Claude->>User: Payment sent successfully
8adaf9e to
c534755
Compare
7be6436 to
baf7e1b
Compare
jklein24
left a comment
There was a problem hiding this comment.
Addressed Greptile review feedback:
SKILL.md:68 - Applied. Added build prerequisites section before the Configuration section.
README.md:909 - Applied. Added Setup section with build instructions before the Usage section.
Review response generated using /pr-review-respond Claude command.
c534755 to
2d4aaa9
Compare
fa858e4 to
dbbe9df
Compare
Claude skill for Grid API operations and documentation: - SKILL.md: Main skill file with triggers and CLI command reference - references/endpoints.md: API endpoint reference extracted from OpenAPI - references/account-types.md: Country-to-account-type mapping for international payments - references/workflows.md: Common payment workflow guides The skill enables Claude to: - Execute API operations using the CLI tool - Answer questions about the Grid API by reading docs - Guide users through interactive payment workflows
- Add "Common Mistakes to Avoid" section for external accounts and quotes - Fix Nigerian account example: use --bank-name (not --bank-code), add --purpose - Clarify individual beneficiary requirements (birth date, nationality required) - Add --dest-currency requirement note for quotes to external accounts - Add separate individual/business examples for CLABE accounts Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add `grid configure` command as primary setup method - Document command aliases (cust, tx, acct) - Document output options (--format table, --no-color) - Document delete confirmation and --yes flag - Add input validation to best practices - Update workflow examples to use aliases and table format Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
dbbe9df to
54320b8
Compare
2d4aaa9 to
3d24889
Compare
- Add build step to SKILL.md Configuration section - Add Setup section with build instructions to README.md Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
54320b8 to
e014cd2
Compare

Claude skill for Grid API operations and documentation:
The skill enables Claude to: