Skip to content

Add skills#391

Merged
olearycrew merged 1 commit into
mainfrom
add-skills
May 22, 2026
Merged

Add skills#391
olearycrew merged 1 commit into
mainfrom
add-skills

Conversation

@olearycrew
Copy link
Copy Markdown
Member

No description provided.

@olearycrew olearycrew merged commit 819384a into main May 22, 2026
2 checks passed
fi

# Replace placeholders
sed -e "s/{{service}}/$SERVICE/g" \
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.

WARNING: sed replacement will break or produce garbled output if $SERVICE or $DATASET contain /, &, or \.

  • A slash in the name (e.g. org/service) causes sed to fail immediately with "unterminated `s' command".
  • An ampersand (e.g. api&health) is interpreted by sed as "insert the matched string", silently corrupting the JSON.

Escape the values before substitution:

SERVICE_ESC=$(printf '%s' "$SERVICE" | sed 's/[\/&]/\\&/g')
DATASET_ESC=$(printf '%s' "$DATASET" | sed 's/[\/&]/\\&/g')
sed -e "s/{{service}}/$SERVICE_ESC/g" \
    -e "s/{{dataset}}/$DATASET_ESC/g" \
    ...

@kilo-code-bot
Copy link
Copy Markdown
Contributor

kilo-code-bot Bot commented May 22, 2026

Code Review Summary

Status: 1 Issue Found | Recommendation: Address before merge

Overview

Severity Count
WARNING 1
Issue Details (click to expand)

WARNING

File Line Issue
.agents/skills/building-dashboards/scripts/dashboard-from-template 49 sed substitution breaks on /, &, \ in service/dataset names
Files Reviewed (50 files)
  • .agents/skills/building-dashboards/scripts/axiom-api
  • .agents/skills/building-dashboards/scripts/dashboard-chart-patch
  • .agents/skills/building-dashboards/scripts/dashboard-create
  • .agents/skills/building-dashboards/scripts/dashboard-from-template - 1 issue
  • .agents/skills/building-dashboards/scripts/dashboard-update
  • .agents/skills/building-dashboards/scripts/dashboard-validate
  • .agents/skills/building-dashboards/scripts/metrics/metrics-query
  • .agents/skills/query-metrics/scripts/axiom-api
  • .agents/skills/query-metrics/scripts/datasets
  • .agents/skills/query-metrics/scripts/metrics-info
  • .agents/skills/query-metrics/scripts/metrics-query
  • .agents/skills/query-metrics/scripts/metrics-spec
  • .agents/skills/query-metrics/scripts/resolve-url
  • .agents/skills/query-metrics/scripts/setup
  • .agents/skills/building-dashboards/SKILL.md
  • .agents/skills/query-metrics/SKILL.md
  • skills-lock.json
  • (and all remaining new files)

Fix these issues in Kilo Cloud


Reviewed by claude-4.6-sonnet-20260217 · 371,488 tokens

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.

1 participant