[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EVNQ8JBX9EBP67SQYDGXPR":3,"skill-same:01M7EVNQ8JBX9EBP67SQYDGXPR":46},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":29,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M7EVNQ8JBX9EBP67SQYDGXPR","magma-to-textfile",null,"Serialize a raw Magma object (CliffOrd, GrpPSL2Cliff, etc.) all the way to disk in one pipeline. Use whenever the user wants to cache a computed Magma object, is writing a make script, asks \"how do I save this object to DATA\u002F\", or wants the full magma-to-lmfdb-object → lmfdb-object-to-string → string-to-textfile pipeline.","tdupu\u002Fagent-skills-public","tdupu","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F3440403?v=4","01M7EV32X9J0EFE5T4P8TKQTCQ","Taylor Dupuy","01M7EV32XZ1Z4MDBYAFRCJD3BP",0,"GPL-3.0","https:\u002F\u002Fgithub.com\u002Ftdupu\u002Fagent-skills-public\u002Fblob\u002Fmain\u002Fskills\u002Fmagma-to-textfile\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: magma-to-textfile\ndescription: Serialize a raw Magma object (CliffOrd, GrpPSL2Cliff, etc.) all the way to disk in one pipeline. Use whenever the user wants to cache a computed Magma object, is writing a make script, asks \"how do I save this object to DATA\u002F\", or wants the full magma-to-lmfdb-object → lmfdb-object-to-string → string-to-textfile pipeline.\n---\n\n# magma-to-textfile\n\n**Purpose:** Take a live Magma object and persist it to DATA\u002F in one pipeline. Composes `\u002Fmagma-to-lmfdb-object` → `\u002Flmfdb-object-to-string` → `\u002Fstring-to-textfile`.\n\n## Shortcut intrinsics (preferred when available)\n\n```magma\nwrite_lmfdb_clifford_order(O: timing := T1)          \u002F\u002F CliffOrd → DATA\u002Forders\u002F\nwrite_lmfdb_sl2(PSL2O: timing := T1)                 \u002F\u002F GrpPSL2Cliff → DATA\u002Fsl2\u002F\nwrite_lmfdb_gamma0(SL2O, beta: do_over := false)     \u002F\u002F computes + saves Gamma0\nwrite_lmfdb_hecke(MS, alpha: timing := T1)           \u002F\u002F ModSymCliff → DATA\u002Fgamma0_hecke\u002F\nwrite_lmfdb_conj_intersection(X)                     \u002F\u002F LMFDBConjugateIntersection → DATA\u002Fconj_intersection\u002F\nwrite_lmfdb_cbmf_gamma0_eigenform(ef : overwrite := false)  \u002F\u002F LMFDBCBMFGamma0Eigenform → DATA\u002Fcbmf_gamma0_eigenforms\u002F\nwrite_lmfdb_cbmf_sub_eigenform(ef : overwrite := false)     \u002F\u002F LMFDBCBMFSubEigenform → DATA\u002Fcbmf_sub_eigenforms\u002F\n```\n\n`write_lmfdb_gamma0(SL2O, beta)` is the recommended pattern for Gamma0 — it checks existing labels to avoid duplicates, computes if missing, and saves.\n\nFor eigenforms, `write_lmfdb_cbmf_gamma0_eigenform` and `write_lmfdb_cbmf_sub_eigenform` write to `DATA\u002Fcbmf_{gamma0,sub}_eigenforms\u002F\u003Corder_label>\u002F`. Use `overwrite := true` when re-running a make script that may have produced stale files.\n\n## Manual pipeline (for types without a shortcut)\n\n```magma\nT0  := Cputime();\nX   := create_lmfdb_object(my_obj: timing := Sprintf(\"%o\", Cputime(T0)));\ns   := SaveLMFDBObject(X);\npath := get_lmfdb_\u003Ctype>_path(...);\nprint_file(path, s: overwrite := false);\n```\n\n## Typical make-script pattern\n\n```magma\nZ := Integers(); Q := Rationals();\nAttachSpec(\"hecke.spec\");\nSetLMFDBRootFolder(\".\");\ncl    := clifford_algebra(Q, [-1]);\nT0    := Cputime();\nords  := maximal_orders(cl);\nT1    := Sprintf(\"%o\", Cputime(T0));\nwrite_lmfdb_clifford_orders(cl, ords: timing := T1);\n```\n\n## Edge cases\n\n- Always record CPU time with `Cputime()` before and after the expensive computation; pass the delta as `timing`.\n- For Gamma0, prefer `write_lmfdb_gamma0(SL2O, beta)` over the manual pipeline — it deduplicates by label.\n- `overwrite := true` is needed when recomputing an object that was previously written.\n- `SetLMFDBRootFolder` must be called before any write.\n","# magma-to-textfile\n\n**Purpose:** Take a live Magma object and persist it to DATA\u002F in one pipeline. Composes `\u002Fmagma-to-lmfdb-object` → `\u002Flmfdb-object-to-string` → `\u002Fstring-to-textfile`.\n\n## Shortcut intrinsics (preferred when available)\n\n```magma\nwrite_lmfdb_clifford_order(O: timing := T1)          \u002F\u002F CliffOrd → DATA\u002Forders\u002F\nwrite_lmfdb_sl2(PSL2O: timing := T1)                 \u002F\u002F GrpPSL2Cliff → DATA\u002Fsl2\u002F\nwrite_lmfdb_gamma0(SL2O, beta: do_over := false)     \u002F\u002F computes + saves Gamma0\nwrite_lmfdb_hecke(MS, alpha: timing := T1)           \u002F\u002F ModSymCliff → DATA\u002Fgamma0_hecke\u002F\nwrite_lmfdb_conj_intersection(X)                     \u002F\u002F LMFDBConjugateIntersection → DATA\u002Fconj_intersection\u002F\nwrite_lmfdb_cbmf_gamma0_eigenform(ef : overwrite := false)  \u002F\u002F LMFDBCBMFGamma0Eigenform → DATA\u002Fcbmf_gamma0_eigenforms\u002F\nwrite_lmfdb_cbmf_sub_eigenform(ef : overwrite := false)     \u002F\u002F LMFDBCBMFSubEigenform → DATA\u002Fcbmf_sub_eigenforms\u002F\n```\n\n`write_lmfdb_gamma0(SL2O, beta)` is the recommended pattern for Gamma0 — it checks existing labels to avoid duplicates, computes if missing, and saves.\n\nFor eigenforms, `write_lmfdb_cbmf_gamma0_eigenform` and `write_lmfdb_cbmf_sub_eigenform` write to `DATA\u002Fcbmf_{gamma0,sub}_eigenforms\u002F\u003Corder_label>\u002F`. Use `overwrite := true` when re-running a make script that may have produced stale files.\n\n## Manual pipeline (for types without a shortcut)\n\n```magma\nT0  := Cputime();\nX   := create_lmfdb_object(my_obj: timing := Sprintf(\"%o\", Cputime(T0)));\ns   := SaveLMFDBObject(X);\npath := get_lmfdb_\u003Ctype>_path(...);\nprint_file(path, s: overwrite := false);\n```\n\n## Typical make-script pattern\n\n```magma\nZ := Integers(); Q := Rationals();\nAttachSpec(\"hecke.spec\");\nSetLMFDBRootFolder(\".\");\ncl    := clifford_algebra(Q, [-1]);\nT0    := Cputime();\nords  := maximal_orders(cl);\nT1    := Sprintf(\"%o\", Cputime(T0));\nwrite_lmfdb_clifford_orders(cl, ords: timing := T1);\n```\n\n## Edge cases\n\n- Always record CPU time with `Cputime()` before and after the expensive computation; pass the delta as `timing`.\n- For Gamma0, prefer `write_lmfdb_gamma0(SL2O, beta)` over the manual pipeline — it deduplicates by label.\n- `overwrite := true` is needed when recomputing an object that was previously written.\n- `SetLMFDBRootFolder` must be called before any write.\n",{"name":5,"description":7},"main","8d13efb5e66306aeae6e3b948bc463e7e2db1b65","skills\u002Fmagma-to-textfile","https:\u002F\u002Fgithub.com\u002Ftdupu\u002Fagent-skills-public","https:\u002F\u002Fgithub.com\u002Ftdupu","https:\u002F\u002Ftdupu.github.io\u002Findex.html","Associate Professor, Department of Mathematics and Statistics, University of Vermont --- last updated Fall 2019","2026-11-13 09:07:19",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add tdupu\u002Fagent-skills-public --skill magma-to-textfile",{"tool":38,"command":39},"bunx","bunx skills add tdupu\u002Fagent-skills-public --skill magma-to-textfile",{"tool":41,"command":42},"pnpm","pnpm dlx skills add tdupu\u002Fagent-skills-public --skill magma-to-textfile","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Ftdupu\u002Fagent-skills-public\u002Fblob\u002Fmain\u002Fskills\u002Fmagma-to-textfile\u002FSKILL.md",true,[],[47,54,61,68,75,82],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":19},"01M7EW4PT586KKE7VRCAD80Z9K","writing-skills","Use when creating new skills, editing existing skills, or verifying skills work before deployment","https:\u002F\u002Fgithub.com\u002Ftdupu\u002Fagent-skills-public\u002Fblob\u002Fmain\u002Fsuperpowers\u002Fskills\u002Fwriting-skills\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M7EW4HV5V74AF3PTV8N4T0PS","writing-plans","Use when you have a spec or requirements for a multi-step task, before touching code","https:\u002F\u002Fgithub.com\u002Ftdupu\u002Fagent-skills-public\u002Fblob\u002Fmain\u002Fsuperpowers\u002Fskills\u002Fwriting-plans\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M7EW4DNKGP5CR1RAJP2J9PHA","verification-before-completion","Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always","https:\u002F\u002Fgithub.com\u002Ftdupu\u002Fagent-skills-public\u002Fblob\u002Fmain\u002Fsuperpowers\u002Fskills\u002Fverification-before-completion\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M7EW4BA2QP88VBFVXDVJM7XQ","using-superpowers","Use when starting any conversation - establishes how to find and use skills, requiring skill invocation before ANY response including clarifying questions","https:\u002F\u002Fgithub.com\u002Ftdupu\u002Fagent-skills-public\u002Fblob\u002Fmain\u002Fsuperpowers\u002Fskills\u002Fusing-superpowers\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7EW47F2JG5FBESDJNP3PKMV","using-git-worktrees","Use when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback","https:\u002F\u002Fgithub.com\u002Ftdupu\u002Fagent-skills-public\u002Fblob\u002Fmain\u002Fsuperpowers\u002Fskills\u002Fusing-git-worktrees\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M7EW44N8556Y556NX9HJT4KP","test-driven-development","Use when implementing any feature or bugfix, before writing implementation code","https:\u002F\u002Fgithub.com\u002Ftdupu\u002Fagent-skills-public\u002Fblob\u002Fmain\u002Fsuperpowers\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[]]