Skip to content

Development/hook#16

Merged
datbth merged 3 commits into
mainfrom
development/hook
May 29, 2026
Merged

Development/hook#16
datbth merged 3 commits into
mainfrom
development/hook

Conversation

@datbth

@datbth datbth commented May 28, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@datbth datbth requested a review from chinh-dm-holistics May 28, 2026 07:51
esac

if ! command -v holistics >/dev/null 2>&1; then
emit_warning "AML file edited but the \`holistics\` CLI is not installed, so $file was not validated. Use the \`holistics-development:setup-holistics-cli\` skill to install it."

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

In case the skill somehow can not be loaded

Suggested change
emit_warning "AML file edited but the \`holistics\` CLI is not installed, so $file was not validated. Use the \`holistics-development:setup-holistics-cli\` skill to install it."
emit_warning "AML file edited but the \`holistics\` CLI is not installed, so $file was not validated. Install holistics cli. Use the \`holistics-development:setup-holistics-cli\` skill or read https://docs.holistics.io/docs/cli."

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

This hook is part of the plugin, the plugin contains that skill.
So I don't think this case (plugin installed but not skill) could happen

@datbth datbth merged commit c19528a into main May 29, 2026
3 checks passed
@datbth datbth deleted the development/hook branch May 29, 2026 02:50
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