[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7C1PETT197THCK7D26MWA5H":3,"skill-same:01M7C1PETT197THCK7D26MWA5H":43},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":20,"frontMatter":21,"refName":22,"commitSha":23,"skillDirectory":24,"forksCount":25,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":28,"install":29,"resources":42},"01M7C1PETT197THCK7D26MWA5H","motor-model-dynamics",null,"linyouxue\u002Fskill-repair-benchmark","linyouxue","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F216151464?v=4","01M7BJEVCXKD74KH6FG9CBVSQB","林宥学","01M7BJEVE02NP217V93BKZFC0J",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fevaluation\u002Fresults\u002FSkillrevise\u002Ftasks\u002Fdrone-planning-control\u002Frepaired_skill\u002Fmotor-model-dynamics\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"# Quadrotor End-to-End Simulation And Reporting (Trajectory, Control, Metrics, Outputs)\n\n## Purpose\nProduce verifier-consumable quadrotor simulation results by discovering the repo contract first, then running an end-to-end loop: command ingestion, trajectory generation with acceleration limits, closed-loop control, physics integration, metrics\u002Fplots generation, and strict output grounding plus schema checks.\n\n## When to Use\nUse this skill when the task requires end-to-end deliverables (per-command runs, tuned control behavior, metrics\u002Fplots\u002Ffiles written for a verifier) and the repo\u002Fenvironment constraints are unknown or variable, so you must discover entrypoints, required output paths, and artifact schemas before implementing or running.\n\n## Procedure\n- 1) Discover the contract before coding or running\n- Locate any authoritative sources in the environment: repo README\u002Fspecs, tests, verifier scripts, example outputs, or config files.\n- Extract and record (do not guess) the following, leaving unknown if not found:\n- Input command formats and where they live (file patterns, folders).\n- Required output root path(s) and per-run directory conventions.\n- Required artifact list (filenames, extensions) and any schema hints (required keys\u002Fcolumns).\n- Timebase requirements (dt, sample_rate, horizon) and numeric requirements (e.g., settling_threshold = 0.02 if present).\n- Decision point: if no contract is discoverable, stop and implement a minimal, clearly logged default output bundle, but keep outputs organized and easy to map to a future contract (one folder per command\u002Frun).\n- 2) Validate inputs and assumptions (fail fast, no irreversible writes)\n- Confirm required input files exist and are readable; if multiple candidates exist, list them and select deterministically (e.g., newest by mtime) while logging the choice.\n- Validate parameter sources (system params, vehicle params) by checking required fields exist before use (mass, gravity, inertia representation, motor limits if present).\n- Decision point: if critical fields are missing, fall back to a simplified model only if it still allows producing required artifacts; otherwise halt and report the missing fields.\n- 3) Build an end-to-end pipeline skeleton with stable interfaces\n- Define explicit interfaces (function signatures or module boundaries) for:\n- parse_commands() -> list of command specs\n- generate_reference(command, limits) -> time series reference (pos\u002Fvel\u002Facc or attitude\u002Fthrust)\n- controller_step(state, reference, gains) -> actuator commands (thrust\u002Fmoments or motor targets)\n- plant_step(state, actuators, dt, params) -> next state\n- compute_metrics(run_data, thresholds) -> dict\u002Ftable\n- write_outputs(run_id, artifacts) -> files\n- Constraint: keep state definitions and units consistent and documented in-code (no silent unit mixing).\n- 4) Trajectory generation with explicit acceleration-limit enforcement\n- Generate a time-parameterized reference for each command.\n- Enforce acceleration limits with an explicit check:\n- Compute commanded\u002Freference acceleration over the timebase and assert it does not exceed configured limits (or log violations and apply smoothing\u002Ftime-scaling).\n- Decision point: if the reference violates limits, apply the smallest change that restores feasibility (time scaling or jerk\u002Faccel limiting), then re-check.\n- 5) Closed-loop simulation with environment-grounded integrator choice\n- Choose integration method based on available tools:\n- Prefer fixed-step integrators (Euler or RK2\u002FRK4) with dt derived from discovered sample_rate\u002Fdt.\n- Use advanced integrators only if the dependency is present and verified usable.\n- Motor\u002Factuator mapping:\n- Discover vehicle geometry and motor ordering\u002Fsign conventions from params\u002Fconfig if available.\n- If geometry is unknown, use a generic allocation fallback (e.g., pseudoinverse mapping) and add a validation check that resulting actuator commands are finite and within limits.\n- Control:\n- Implement cascaded control only if required by the contract; otherwise keep a minimal stable controller.\n- Tuning rule: tune per command only within bounded iterations (e.g., N trials), and always keep a safe default gain set as fallback.\n- Execution checkpoint per run:\n- Log: timebase, integrator, saturation events, max accel observed, and whether any NaNs\u002FInfs occurred.\n- If NaN\u002FInf appears: stop the run, lower dt or clamp\u002Fsaturate, and rerun once (bounded fallback).\n- 6) Ground outputs in verifier-visible paths and validate schemas (hard gate)\n- Write artifacts only to the exact discovered output root(s); create directories only under that root.\n- Required artifacts (discover-driven):\n- Metrics file(s) (json\u002Fcsv) and plot\u002Fimage files if required.\n- Any trajectory\u002Fstate logs required by the contract.\n- Post-write grounding check:\n- For every required artifact path: assert it exists, is readable, and non-empty.\n- Post-write schema check (reload what you wrote):\n- JSON: parse and assert required keys exist and types are correct.\n- CSV: load and assert required columns exist and row count matches timebase.\n- Numeric arrays: assert expected shape consistency with the run length.\n- Numeric sanity: all finite; no silent NaNs; thresholds (like settling_threshold = 0.02) applied only if explicitly required\u002Fdiscovered.\n- Decision point: if any artifact fails existence or schema checks, fix locally (path\u002Fschema) and re-run only the write+validation step (not the whole simulation) when possible.\n- 7) Bounded fallback handling for common tool\u002Fenvironment failures\n- Plotting fails (backend\u002Fmissing fonts): fall back to saving minimal plots (no latex, no tight layout), or skip plots only if the contract does not require them; always keep metrics\u002Flogs.\n- Missing heavy dependencies (e.g., scipy): switch to fixed-step integration and numpy-only computations; re-run the smallest validation checkpoint (finite state, output existence).\n- Ambiguous requirements: generate both a minimal and an extended artifact set (within the same output root) only if it does not violate the contract; otherwise pause for clarification.\n\n## Constraints \u002F Pitfalls\n- Do not hard-code output paths, motor ordering, geometry signs, dt, or integrator choices; discover them from repo\u002Ftask artifacts first, and validate with explicit checks before committing to a run.\n- Do not claim completion unless the final grounding + reload-based schema validations pass on the exact verifier-visible output paths; if a required contract element is unknown, record it as unknown and avoid inventing hidden requirements.",{},"main","cdcb6d230f3b15c3c33f8a2bdd16439f43602cbe","evaluation\u002Fresults\u002FSkillrevise\u002Ftasks\u002Fdrone-planning-control\u002Frepaired_skill\u002Fmotor-model-dynamics",1,"https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark","https:\u002F\u002Fgithub.com\u002Flinyouxue","2026-11-14 20:28:35",{"source":7,"skillName":5,"commands":30,"prompt":40,"zipAvailable":41},[31,34,37],{"tool":32,"command":33},"npx","npx skills add linyouxue\u002Fskill-repair-benchmark --skill motor-model-dynamics",{"tool":35,"command":36},"bunx","bunx skills add linyouxue\u002Fskill-repair-benchmark --skill motor-model-dynamics",{"tool":38,"command":39},"pnpm","pnpm dlx skills add linyouxue\u002Fskill-repair-benchmark --skill motor-model-dynamics","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fevaluation\u002Fresults\u002FSkillrevise\u002Ftasks\u002Fdrone-planning-control\u002Frepaired_skill\u002Fmotor-model-dynamics\u002FSKILL.md",true,[],[44,51,58,65,70,75],{"skillNo":45,"name":46,"nameZh":6,"description":47,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":48,"categories":49,"keywords":50,"publishedAt":18},"01M7E1HGVRY73NBJ022CJG13X6","video-frame-extraction","Extract frames from video files and save them as images using OpenCV","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_03\u002Finputs\u002Fskills\u002Fvideo-frame-extraction\u002FSKILL.md",[],[],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":18},"01M7E1HAG5R7CJ9C8NYJS771MB","openai-vision","Analyze images and multi-frame sequences using OpenAI GPT vision models","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_03\u002Finputs\u002Fskills\u002Fopenai-vision\u002FSKILL.md",[],[],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":18},"01M7E1H7DADKB6QBWKC2KQ63SZ","image-ocr","Extract text content from images using Tesseract OCR via Python, including structured field extraction from receipts and forms","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_03\u002Finputs\u002Fskills\u002Fimage-ocr\u002FSKILL.md",[],[],{"skillNo":66,"name":46,"nameZh":6,"description":47,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":18},"01M7E1H0WBNT43TENGQY7AVZHD","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_02\u002Finputs\u002Fskills\u002Fvideo-frame-extraction\u002FSKILL.md",[],[],{"skillNo":71,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":18},"01M7E1GTC7D4N4Q2EF03875J9E","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_02\u002Finputs\u002Fskills\u002Fopenai-vision\u002FSKILL.md",[],[],{"skillNo":76,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":18},"01M7E1GQ92CWFMGH53KSSE4WER","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_02\u002Finputs\u002Fskills\u002Fimage-ocr\u002FSKILL.md",[],[]]