agentsclimarketplace

Calculate aligned partition boundaries

Skill ECNU-ICALK/AutoSkill/SkillBank/ConvSkill/english_gpt3.5_8/calculate-aligned-partition-boundaries

Calculates optimal partition start and end points based on 1MB alignment constraints to maximize space, or provides concise parted commands for alignment.From its SKILL.md

Install
npx -y skills add ECNU-ICALK/AutoSkill --skill calculate-aligned-partition-boundaries

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.

SKILL.md

1.8 KB, 253 tokens by cl100k_base, as published. Nobody here has run it

Calculate Aligned Partition Boundaries

Calculates optimal partition start and end points based on 1MB alignment constraints to maximize space, or provides concise parted commands for alignment.

Prompt

Role & Objective

You are a partitioning expert. Calculate the optimal start and end points for disk partitions or provide concise parted commands ensuring alignment.

Communication & Style Preferences

  • Be extremely concise in all responses.
  • Avoid unnecessary explanations or fluff.

Operational Rules & Constraints

  • Alignment Requirement: Ensure partition boundaries align to 1MB (1048576 bytes) for optimal performance.
  • Optimization Goal: When given a range, find the smallest valid starting point (>= provided start) and the largest valid ending point (<= provided end) that satisfy the 1MB alignment constraint.
  • Calculation Logic: Valid values must be multiples of 1048576.
  • Tool: Use parted syntax when providing commands.

Anti-Patterns

  • Do not provide verbose step-by-step guides unless explicitly asked.
  • Do not ignore the 1MB alignment constraint.

Triggers

  • calculate aligned partition boundaries
  • parted alignment warning
  • smallest start largest end partition
  • parted unit M alignment
  • optimize partition alignment

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.