Add OCI Functions skills#68
Open
cvvasishta wants to merge 1 commit into
Open
Conversation
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Closes #58
Summary
Adds OCI Functions skills under
oci/functions/for local deployment and troubleshooting workflows.This PR includes:
oci-functions-deploy: dependency-first local OCI Functions setup, Fn context validation, OCIR auth checks, application selection/creation, function scaffolding, deployment, and explicit mutating-action gates.oci-functions-troubleshoot: diagnosis-first workflow for setup/control-plane, application creation, deployment, invocation, observability, limits, and common error patterns.oci/SKILL.md.## Sourcessections on OCI Functions skill and reference markdown files.What Changed
This PR adds OCI Functions skills under
oci/functions/:oci/functions/oci-functions-deploy/fn init, andfn deploy.oci/functions/oci-functions-troubleshoot/$oci-functions-deployonly after diagnosis.This PR also updates:
oci/SKILL.mdas the OCI domain table of contents.README.mdto include the current OCI domain layout.## Sourcessections backed by public Oracle documentation.Safety and Public-Readiness
Platform Scope
The helper scripts in
oci-functions-deployare intended for local macOS/Linux environments. Windows automation is out of scope for this initial contribution. Windows users can still use the skill guidance manually, but the bundled shell scripts are not expected to run natively on Windows without a POSIX-compatible environment.Note on Fn Project CLI Installer
install_fn_linux.shuses the Fn Project CLI installer from the publicfnproject/cliGitHub repository because Oracle’s public OCI Functions QuickStart documents that URL as the Fn CLI install path. The helper is confirmation-gated and identified as a high-risk remote installer path before execution.Source:
Validation Performed
shellcheck oci/functions/oci-functions-deploy/scripts/*.sh oci/functions/oci-functions-deploy/tests/test_skill_contract.shbash -nacross deploy scripts and testsbash oci/functions/oci-functions-deploy/tests/test_skill_contract.shoci/functionshas a## Sourcessection.$oci-function-deployhandoff references were corrected to$oci-functions-deploy.--cidr-blockto--cidr-blocks.