hydr0pon1c/skills-on-the-fly/23-24

Claude Code and agent skill by hydr0pon1c/skills-on-the-fly

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Install

npx vskill@latest install hydr0pon1c/skills-on-the-fly/23-24

SKILL.md

The same SKILL.md was published earlier as hydr0pon1c/skills-on-the-fly/23-24.

SKILL.md

When to use

Use this skill when a Sheet-Level Manipulation task requires deleting rows (or cell ranges) in an Excel spreadsheet based on a condition that compares values across columns (e.g., column A matches a list in column I). The typical user description involves manually highlighting a range and pressing Ctrl + Minus to shift cells up, but for automation the operation becomes: remove the entire row (or selected cell range) for each matching condition and shift remaining content upward.

Before acting, gather:

  • The exact sheet name(s) and the answer cell range (e.g., A1:E1102).
  • The column letters used in the condition (e.g., column A and column I).
  • The data types of those columns – are they strings, numbers, nulls? Look at the first few rows from the spreadsheet content.
  • Whether the instruction implies deleting entire rows or only the specified columns’ cells. “Shift cells up” after selecting a horizontal range (A to E) is ambiguous; check the answer position – if it covers full rows (e.g., A1:E1102), assume row deletion unless the problem explicitly says to keep other columns aligned.

Possible Failure Modes

  1. Wrong deletion granularity – Deleting only the cell contents instead of shifting cells/rows up; or deleting entire rows when only columns A–E should be shifted.
  2. Off-by-one in row ranges – Including the header row in deletion, or missing data rows at the edges of the answer range.
  3. Type mismatches in comparison – Comparing a string value from column A with a numeric value from column I (or vice versa) without casting. Null/NaN values also cause missed matches.
  4. Not preserving the original row order when deleting multiple rows – Iterating forward and deleting rows shifts indices; always delete in reverse order.
  5. Assuming a single contiguous block of matching rows – Matches may be scattered; the algorithm must check every row in the range independently.
  6. Breaking the loop prematurely – Relying on a “stop when empty” condition that is not part of the spec.
  7. Leaving trailing empty rows after shifting – After deletion, rows below move up, but if the answer range is fixed (e.g., A1:E1102), ensure that the last rows are not left with stale data.

Possible procedures

  1. Understand the deletion rule
  • Determine the columns involved in the condition (e.g., column A and column I).
  • Decide if the comparison is case-sensitive or not – usually treat strings as case-sensitive unless stated otherwise.
  • Clarify whether “matches” means exact equality or substring containment. The target instruction says “word in column A matches any word found in column I” – likely exact match of the word string.
  1. Load the workbook and worksheet
  • Use openpyxl to load the .xlsx file.
  • Identify the worksheet (often the first sheet or the one named in the content).
  • Collect all data from the answer range (e.g., rows 1 to 1102, columns A to E) into a list of dictionaries or a pandas DataFrame for easier manipulation.
  1. Identify rows to delete
  • For each row in the range, get the value from the condition column (A) and the reference column (I).
  • Build a set or list of values from column I (non‑null).
  • Mark rows where column A value is in that set.
  • Pay attention to empty cells – treat them as non‑matches unless the problem says otherwise.
  1. Delete rows with shift up
  • If deleting entire rows: collect row indices (1‑based) and delete them in descending order using ws.delete_rows(idx).
  • If deleting only columns A‑E: you need to clear those cells and shift cells up within each column separately. This is more complex – typically done by iterating columns and moving non‑deleted values upward. For consistency, prefer row deletion unless the problem explicitly requires column‑specific shifting.
  • After deletion, the rows below shift up automatically; no need to manually copy data.
  1. Handle the answer range
  • The answer range defines the maximum extent of modifications. Only modify cells within that range.
  • After deletion, trailing rows (beyond the original data, inside the range) may contain old data; clear or leave them as per the user’s expectation. Usually they should become empty or be removed completely.
  1. Write back and save
  • Save the workbook to the specified output path.
  • Do not modify any data outside the answer range.

Verification Checklist

  1. Output file exists – Confirm the file is created at output_path.
  2. Answer range untouched outside – No cells outside A1:E1102 were read or written.
  3. Rows correctly deleted – Every row where column A value matches any column I value (exact match) is removed; no extra rows are deleted.
  4. Shift up correct – All remaining rows within the answer range are contiguous upward; no gaps or misaligned data.
  5. Header preserved – If the answer range includes row 1, ensure the header is not deleted (unless the instruction explicitly says to delete it).
  6. No copying of retrieved solution data – The solution uses only the target sheet, not any spreadsheet paths, names, or values from the examples.
  7. Type-safe comparison – Compare values as strings after converting (e.g., str(value).strip()) to avoid mismatches between numbers and strings.
  8. Empty cells handled – Null/NaN values in condition columns do not cause unintentional matches.
  9. Recovery check – Run a small test with a copy of the spreadsheet to confirm the deletion logic works before final output.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/hydr0pon1c/skills-on-the-fly/23-24/badge)](https://verified-skill.com/skills/hydr0pon1c/skills-on-the-fly/23-24)

Something wrong with this skill or its page? Tell us.