Skip to content

Add error handler setup skill - #60

Open
hkandpal wants to merge 3 commits into
Snowflake-Labs:mainfrom
hkandpal:add-error-handler-skill
Open

hkandpal wants to merge 3 commits into
Snowflake-Labs:mainfrom
hkandpal:add-error-handler-skill

Conversation

@hkandpal

@hkandpal hkandpal commented Jun 17, 2026 •

Copy link
Copy Markdown

Skill submission checklist

Before submitting, please confirm the following:

Folder structure

  • My skill lives at skills/<my-skill-id>/
  • The folder name matches the id field in SKILL.md (lowercase, hyphens only)
  • SKILL.md is present in the skill folder
  • LICENSE is present in the skill folder

Frontmatter

  • name field is filled in
  • description field clearly explains what the skill does, when to use it, and what triggers it
  • id field matches the folder name
  • authors field includes the contributor's name
  • type is set to community or snowflake
  • status is set to stable, beta, or draft
  • categories includes at least one relevant tag

License

  • Community contributors: LICENSE is Apache 2.0
  • Snowflake employees: LICENSE is the Snowflake Skills License

Testing

  • I tested this skill in a Cortex Code session against my example prompt
  • The skill behavior matches what is described in the description field

Optional

  • Supporting files (templates, examples) are organized into templates/ or references/ subdirectories
  • I checked that my skill name does not conflict with a bundled Cortex Code skill (run /skill in a session to verify)

Describe your skill:

Example prompt that triggers it:

@hkandpal

Copy link
Copy Markdown
Author

A reusable error-handling skill that automatically wraps every new Snowflake stored procedure in a standardized EXCEPTION block. It logs failures (SQLCODE, SQLERRM, SQLSTATE, and the exact step that failed) into a centralized BATCH_ERROR_LOG table via the SNOW_ERROR_CAPTURE procedure, ensuring consistent telemetry across all data pipelines.

Example prompt that triggers it:

"Create a stored procedure to process daily sales transactions"

@hkandpal

Copy link
Copy Markdown
Author

Hi team, just checking in — is there anything I can update or improve on this PR to help with the review? Happy to make changes if needed.

thanks

@hkandpal

hkandpal commented Jul 6, 2026

Copy link
Copy Markdown
Author

Hi team — this PR has been open for a few weeks and is ready for review. Could someone with write access take a look and approve the pending workflow run when you get a chance? Happy to make any changes needed. Thanks!

@jdanielmyers

Copy link
Copy Markdown
Contributor

Thank you for the PR! Reviewing the pr, there is no SKILL.md -- please add.

@hkandpal hkandpal left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @jdanielmyers for reviewing, I have added the file, Please let me know if I am missing anything.

@hkandpal

Copy link
Copy Markdown
Author

Hi team — this PR has been open for a few weeks and is ready for review. Could someone with write access take a look and approve the pending workflow run when you get a chance? Happy to make any changes needed. Thanks!

@hkandpal

hkandpal commented Sep 6, 2026

Copy link
Copy Markdown
Author

Hi team — this PR has been open for a few months and is ready for review. Could someone with write access take a look and approve the pending workflow run when you get a chance? Happy to make any changes needed. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants