hydr0pon1c/skills-on-the-fly/10747

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/10747

SKILL.md

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

SKILL.md

When to use

Apply this skill when a user provides a spreadsheet containing two or more tables (one “basic” data table and one “desired” output table) and a formula that is supposed to extract or aggregate data but is not working correctly. The user explicitly asks for help identifying the mistake in the formula, and the answer position is a specific cell (or small range) that must contain the corrected formula.

Key contract:

  • The target task is to diagnose and fix the given formula so it performs the intended lookup/sum based on matching criteria.
  • The answer must be placed in the cell specified by answer_position. Do not modify any other cells unless explicitly required.
  • The evidence to gather before acting: the exact cell ranges of the basic table (e.g., Year, Share No, Net profit columns), the structure of the desired table (which columns contain criteria and which column needs the result), and the exact syntax of the user’s broken formula.

Possible Failure Modes

  • Using `IF` instead of a summing function – IF returns a single value or array of values, not a sum. For aggregations, use SUMIFS, SUMPRODUCT, or SUM with array logic.
  • Misusing the `@` operator – In modern Excel, @ forces implicit intersection, breaking array evaluation. The formula should omit @ when intended to evaluate over a range (e.g., SUMPRODUCT((A3:A8=I3)*(B3:B8=J3),C3:C8)).
  • Wrong range references – The criteria ranges and sum range must exactly cover the basic table data, including headers or excluding them as needed. Check actual data rows vs. the user’s stated range.
  • Missing parentheses or malformed array operations – For example, (condition1)*(condition2) inside SUMPRODUCT must be wrapped correctly: =SUMPRODUCT((range1=criteria1)*(range2=criteria2), sum_range).
  • Confusing one‑cell formulas with array formulas – If the answer cell is a single cell, a regular formula like SUMIFS works. For multiple criteria across columns, SUMPRODUCT or SUMIFS with explicit sum range is appropriate.
  • Copying retrieved example logic without adapting to target context – Do not reuse literal range addresses or sheet names from examples; they are evidence, not requirements.

Possible procedures

  1. Inspect the spreadsheet layout
  • Load the workbook and check the actual column indices, row numbers, and table boundaries of both the basic table and the desired table.
  • Identify which columns hold the criteria (e.g., Year, Share No) and which column holds values to be summed (Net profit).
  • Note the cell that must contain the corrected formula (answer_position).
  1. Understand the intended logic
  • The user’s description: “sum the net profit from the first table based on the year and share no values in cells I3 and J3.”
  • This is a classic multi‑criteria sum: sum of column C (Net profit) where column A (Year) equals I3 and column B (Share No) equals J3.
  1. Diagnose the broken formula
  • The given formula =IF((@$A$3:$A$8=$I3)*(@$B$3:$B$8=$J3),C3,0) has two fatal issues:
  • @ forces implicit intersection, so it only evaluates the first row of the condition, not the entire array.
  • IF returns either a single value (the C of the first matching row) or an array of values, but does not sum them.
  • The correct approach: replace with =SUMIFS or SUMPRODUCT that sums column C where both criteria are met.
  1. Write the corrected formula
  • Option A: =SUMIFS(C3:C8, A3:A8, I3, B3:B8, J3) – simplest, but works only when the sum range is a single column.
  • Option B: =SUMPRODUCT((A3:A8=I3)*(B3:B8=J3), C3:C8) – handles array multiplication; ensure ranges are identical length.
  • Use absolute references (e.g., $A$3:$A$8) if the formula will be copied elsewhere; otherwise relative references are fine for a single cell.
  • Place the formula exactly at answer_position. Do not alter any other cell.
  1. Recovery checks
  • After writing the formula, verify that the cell contains a formula (not a static value).
  • If the file contains multiple sheets, ensure the correct sheet is selected.
  • If the resulting value seems off (e.g., all zeros), double‑check the matching ranges and criteria values (case, trailing spaces, numeric vs. text formatting).

Verification Checklist

  • [ ] The formula is placed only in the cell(s) specified by answer_position. No other cells were modified.
  • [ ] The formula correctly sums the net profit column (not returns an array or single value).
  • [ ] The criteria ranges (Year & Share No) exactly cover the data rows of the basic table (including or excluding headers as appropriate).
  • [ ] The formula uses no `@` operator and is not unnecessarily wrapped in IF.
  • [ ] The output file is saved to the exact output_path provided.
  • [ ] You have not copied any concrete cell addresses, sheet names, or numeric values from the retrieved examples; they were used only as evidence for failure modes.
  • [ ] If the basic table contains empty cells or zeros, the formula returns the correct sum (not #N/A or incorrect due to empty values).
  • [ ] After solving, verify that the spreadsheet structure outside answer_position is unchanged (no accidental edits to other cells, formulas, or formatting).

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/10747/badge)](https://verified-skill.com/skills/hydr0pon1c/skills-on-the-fly/10747)

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