技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
ramp-local-dev-loop【数据与研究】Build a safe local Ramp integration loop with schema fixtures, sandbox data, simulated lifecycle events, and explicit production blocking. Use when developing or reproducing API behavior locally. Trigger with "Ramp local development" or "Ramp sandbox test".
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Keep the default loop deterministic and offline, then use Ramp sandbox for the smallest behavior that needs vendor execution. Make environment resolution visible and fail closed before any local write can reach production.
references/official-docs.md and re-check endpoint schemas, scopes, limits, and support status before a live operation.https://demo.ramp.com for the UI and https://demo-api.ramp.com for Developer API calls.Create a typed environment resolver with explicit sandbox default, an allowlist of Ramp hosts, and a hard production-write interlock.
Generate minimal sanitized fixtures from the reviewed OpenAPI contract for success, empty page, pagination, error, webhook duplicate, and ambiguous-write cases.
Run unit and contract tests offline; assert no credential, card detail, receipt, or personal field enters snapshots or logs.
Use a sandbox account and demo actions to create only the lifecycle state under test; record object IDs and reset/cleanup ownership.
Compare sandbox observations with fixtures, update only after review, and save the contract checksum and exact test artifact.
Developers may use approved sandbox data and credentials. Any production read, production credential, real business data, or write requires separate owner approval.
A fail-closed environment resolver, sanitized fixture set, deterministic test results, sandbox scenario receipt, contract checksum, and cleanup record.
| Condition | Response |
|---|---|
Local code resolves api.ramp.com | Abort before token acquisition or network access and correct configuration precedence. |
| Sandbox has no matching state | Create it through documented demo actions or API setup; do not copy production data. |
| A snapshot contains sensitive fields | Delete the fixture from working copies, rotate exposed credentials if any, and replace it with synthetic schema-valid data. |
Simulate a sandbox transaction, receive its webhook fixture, process it twice, and prove one downstream effect.
Reproduce a 422 locally from the schema, then confirm the corrected request in sandbox without widening scopes.