Oci functions troubleshoot

From oracle/skills · View interactive version

Oci functions troubleshoot is an AI agent skill from the GitHub repository oracle/skills. Diagnose OCI Functions setup, control-plane, deployment, invocation, and observability issues using a deterministic triage workflow. Use when asked to classify Fn CLI errors, deploy or invoke failures, OCIR auth and registry issues, app-limit symptoms, logs, tracing, metrics, or limits. Diagnose fir

How to use this skill

Skill file

OCI Function Troubleshoot

Use this skill to isolate the most likely cause of an OCI Functions problem from error text, command output, or observability signals.

This skill is diagnosis-first and non-mutating by default:

Output Contract

Always answer in this exact shape:

Triage

  1. If the user provides an exact error string, start with references/error-patterns.md.
  2. Classify the issue from the failed action:
  1. If the stage is ambiguous:

Minimum Facts

Capture the minimum facts before diagnosing:

Preferred Read-Only Checks

Prefer non-mutating checks when tooling is available:

If tools or access are missing, stay docs-first:

Workflow

Setup Or Control Plane

Use references/setup-and-runtime.md for:

Start with read-only checks:

Application Creation

Use references/create.md for create-time failures.

Focus on:

Deployment

Use references/deploy.md for:

Check in this order:

Invocation

Use references/invoke.md for:

Check in this order:

Observability First

Use references/observability.md when the user starts from symptoms instead of a single failing command.

Default observability sequence:

  1. Logs: determine whether the function ran and whether application logging is enabled
  2. Tracing: use traces when enabled and the missing clue is dependency timing, latency, or call path
  3. Metrics: distinguish execution failure, throttling, detached delivery, latency, and capacity pressure
  4. Limits: confirm whether create or invoke failures align with service limits
  5. Debug flags: use DEBUG=1 or OCI_GO_SDK_DEBUG=v only when reproducing locally or when request/SDK details are still missing

Reference Map

Guardrails

Sources

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.