[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6X0M1CBG11RN1AZSD1SAJGD":3,"skill-same:01M6X0M1CBG11RN1AZSD1SAJGD":67},{"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":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":44,"commitSha":45,"skillDirectory":46,"forksCount":47,"repositoryHtmlUrl":48,"repositoryHomepageUrl":6,"ownerHtmlUrl":49,"ownerBlogUrl":50,"ownerDescription":51,"updatedAt":52,"install":53,"resources":66},"01M6X0M1CBG11RN1AZSD1SAJGD","tlalink-source-navigation",null,"Find C# symbols and Roslyn declaration IDs with TlaLink; resolve source positions, inspect member code, find references, callers and callees, or obtain compiler-backed source facts. Use before selecting correspondence attachments or following calls. Read-only navigation, not link editing or a whole-program effect analysis.","microsoft\u002Ftlalink","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M6X0KKG4Q63KFQPHXBJSZK9H",1,"MIT","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Ftlalink\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Ftlalink-source-navigation\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"tlalink source navigation","source","navigation","with","program","find references","facts","inspect","calls","read-only","C#","code","references","only","use","effect","editing","analysis","ids","compiler","2026-11-10 10:12:30",false,"---\nname: tlalink-source-navigation\ndescription: 'Find C# symbols and Roslyn declaration IDs with TlaLink; resolve source positions, inspect member code, find references, callers and callees, or obtain compiler-backed source facts. Use before selecting correspondence attachments or following calls. Read-only navigation, not link editing or a whole-program effect analysis.'\n---\n\n# Navigate C# with compiler-backed queries\n\nUse the existing CLI rather than guessing declaration IDs or scanning source\nspellings for semantic references. See [Finding C# symbols](..\u002F..\u002F..\u002FREFERENCE.md#finding-c-symbols)\nfor the authoritative command contract and [agent safeguards](..\u002F..\u002F..\u002FAGENTS.md).\nFor model\u002FC# comparison use [correspondence inspection](..\u002Ftlalink-inspect-correspondence\u002FSKILL.md);\nfor requested connection edits use [link maintenance](..\u002Ftlalink-maintain-links\u002FSKILL.md).\n\n## Establish the compilation first\n\n1. Read the selected package's instructions and identify the concrete behavior\n   and source members of interest. Keep implementation sources explicit.\n2. Supply the actual references, defines, C# dialect, nullable and framework\n   settings. Do not silently use host defaults for a different product context.\n3. Prefer `--regression-result \u003Cnative-engine-result.json>` when a suitable\n   recorded compiler context exists. For project regression stages use the\n   receipt under `\u003Cstage>\u002Fengine\u002Fresult.json`, not the enclosing stage receipt.\n   Keep selected sources explicit; every selected file must have been observed\n   by that compiler. Do not combine this option with context overrides or\n   reconstruct its reference list in scripts.\n4. Report missing context or compiler diagnostics. Do not turn incomplete\n   resolution into plausible partial answers. Analysis must not provision tools.\n\nUse the package's selected wrapper\u002Fdistribution. If it rejects a documented\nsymbols action, treat that as a tool-capability\u002Fsetup gap, not absence of the\nrequested declaration. Pause for authorized documented setup; do not silently\nsubstitute a workspace build. After a tool change, obtain fresh applicable\ncompiler evidence if the existing receipt fails validation.\n\nThe following independently synthetic examples run from the repository root.\nUse document-relative inputs from the selected package, resolved to CLI paths\nagainst the caller's directory; do not assume the tool changes that directory.\n\n## Choose the smallest query\n\n| Question | Query |\n|---|---|\n| What IDs correspond to this exact name? | `symbols find --name \u003Cname>`; inspect all overloads |\n| What declaration does this exact ID identify? | `symbols show --id \u003Cemitted-ID>` |\n| What declaration contains this source position? | `symbols resolve --file \u003Cselected-file> --line \u003Cline> --column \u003Ccolumn>` |\n| Where is this symbol used in selected sources? | `symbols references --id \u003Cemitted-ID>` |\n| Which explicit calls target this method? | `symbols callers --id \u003Cemitted-ID>` |\n| What does this source member explicitly call? | `symbols callees --id \u003Cemitted-ID>` |\n| Can I read the member and its structural facts together? | `symbols describe --id \u003Cemitted-ID>` |\n\n```powershell\n.\\TlaLink.ps1 symbols find --source .\\examples\\MethodSummaries\\src\\PermitGate.cs --name TryTake --format summary\n.\\TlaLink.ps1 symbols describe --source .\\examples\\MethodSummaries\\src\\PermitGate.cs --id 'M:SummaryExample.PermitGate.TryTake' --format summary\n.\\TlaLink.ps1 symbols callees --source .\\examples\\MethodSummaries\\src\\PermitGate.cs --id 'M:SummaryExample.PermitGate.TryTake' --format summary\n```\n\nStart with `summary`: it retains symbol matches and utility-query details\nwithout the full fingerprint map. Request full JSON or a new `--output` file\nonly when the complete pinned result is needed. Symbol commands do not need\n`--annotation-version`; annotation-aware `inspect-source` does.\n\n## Follow evidence, not names\n\n- Copy returned declaration IDs. Do not synthesize overload\u002Fgeneric IDs.\n  In PowerShell, single-quote IDs containing backticks or pass emitted IDs as\n  variables. Renames and signature changes can change IDs.\n- `find --name` matches the exact ordinal, case-sensitive simple name; it is\n  not prefix, substring, wildcard or regex search. A miss for a name fragment\n  does not establish that the intended declaration is absent. If the name is\n  unknown, use `resolve` at a known declaration position or inspect the scoped\n  source inventory, then reuse the emitted ID.\n- `find` returns candidates, not an automatic choice. `resolve` identifies a\n  containing declaration, not the symbol referenced at the cursor. Positions\n  are physical one-based lines and UTF-16 columns; multiple sources require\n  `--file`. Do not use nearest-line guesses to clear ambiguity.\n- Follow emitted call targets with `show`\u002F`describe` when a selected source body\n  exists. `references`\u002F`callers` can also target metadata IDs but still search\n  only selected source; they do not scan framework bodies.\n- When already inspecting model\u002FC# pairs, avoid a second lookup for every helper:\n  use `links inspect --section calls --callee-source true --callee-limit 5\n  --callee-max-lines 80` with that inspection's explicit context. Review\n  page-local callee references, dispatch and omitted\u002Ftruncated status first.\n  Expand only a justified next source member with `symbols describe`.\n  One-level callee excerpts are not recursive call\u002Feffect analysis and do not\n  authorize crossing a declared interface boundary.\n- Use [source inventory](..\u002F..\u002F..\u002FREFERENCE.md#current-c-source-inventory)\n  when the question needs member-wide access\u002Fawait\u002Fcleanup facts or CFG flow,\n  rather than replacing Roslyn analysis with regexes.\n\n## Interpret and report\n\nExit `0` means discovery\u002Fresolution succeeded, `1` means not found or an\nambiguous position, and `2` means invalid input or incomplete compiler context.\nA successfully resolved target with zero scoped references is not unused\nglobally. State the source selection, compiler context, IDs and unresolved\nquestions in the answer.\n\nCalls retain declared dispatch, not concrete interface\u002Fvirtual\u002Fdelegate or\nreflection behavior. Method groups, `nameof` and crefs are not call edges.\nImplicit accessors, disposal, awaiters and operator\u002Fruntime calls need separate\nreview. Nested-function sites are marked, not assumed executed. Follow effects\nbeyond selected sources when the claim needs them, while respecting explicit\ninterface contracts. Resolved IDs and structural facts do not prove call effects,\natomicity, concurrency correctness or source\u002Fmodel equivalence.\n","# Navigate C# with compiler-backed queries\n\nUse the existing CLI rather than guessing declaration IDs or scanning source\nspellings for semantic references. See [Finding C# symbols](..\u002F..\u002F..\u002FREFERENCE.md#finding-c-symbols)\nfor the authoritative command contract and [agent safeguards](..\u002F..\u002F..\u002FAGENTS.md).\nFor model\u002FC# comparison use [correspondence inspection](..\u002Ftlalink-inspect-correspondence\u002FSKILL.md);\nfor requested connection edits use [link maintenance](..\u002Ftlalink-maintain-links\u002FSKILL.md).\n\n## Establish the compilation first\n\n1. Read the selected package's instructions and identify the concrete behavior\n   and source members of interest. Keep implementation sources explicit.\n2. Supply the actual references, defines, C# dialect, nullable and framework\n   settings. Do not silently use host defaults for a different product context.\n3. Prefer `--regression-result \u003Cnative-engine-result.json>` when a suitable\n   recorded compiler context exists. For project regression stages use the\n   receipt under `\u003Cstage>\u002Fengine\u002Fresult.json`, not the enclosing stage receipt.\n   Keep selected sources explicit; every selected file must have been observed\n   by that compiler. Do not combine this option with context overrides or\n   reconstruct its reference list in scripts.\n4. Report missing context or compiler diagnostics. Do not turn incomplete\n   resolution into plausible partial answers. Analysis must not provision tools.\n\nUse the package's selected wrapper\u002Fdistribution. If it rejects a documented\nsymbols action, treat that as a tool-capability\u002Fsetup gap, not absence of the\nrequested declaration. Pause for authorized documented setup; do not silently\nsubstitute a workspace build. After a tool change, obtain fresh applicable\ncompiler evidence if the existing receipt fails validation.\n\nThe following independently synthetic examples run from the repository root.\nUse document-relative inputs from the selected package, resolved to CLI paths\nagainst the caller's directory; do not assume the tool changes that directory.\n\n## Choose the smallest query\n\n| Question | Query |\n|---|---|\n| What IDs correspond to this exact name? | `symbols find --name \u003Cname>`; inspect all overloads |\n| What declaration does this exact ID identify? | `symbols show --id \u003Cemitted-ID>` |\n| What declaration contains this source position? | `symbols resolve --file \u003Cselected-file> --line \u003Cline> --column \u003Ccolumn>` |\n| Where is this symbol used in selected sources? | `symbols references --id \u003Cemitted-ID>` |\n| Which explicit calls target this method? | `symbols callers --id \u003Cemitted-ID>` |\n| What does this source member explicitly call? | `symbols callees --id \u003Cemitted-ID>` |\n| Can I read the member and its structural facts together? | `symbols describe --id \u003Cemitted-ID>` |\n\n```powershell\n.\\TlaLink.ps1 symbols find --source .\\examples\\MethodSummaries\\src\\PermitGate.cs --name TryTake --format summary\n.\\TlaLink.ps1 symbols describe --source .\\examples\\MethodSummaries\\src\\PermitGate.cs --id 'M:SummaryExample.PermitGate.TryTake' --format summary\n.\\TlaLink.ps1 symbols callees --source .\\examples\\MethodSummaries\\src\\PermitGate.cs --id 'M:SummaryExample.PermitGate.TryTake' --format summary\n```\n\nStart with `summary`: it retains symbol matches and utility-query details\nwithout the full fingerprint map. Request full JSON or a new `--output` file\nonly when the complete pinned result is needed. Symbol commands do not need\n`--annotation-version`; annotation-aware `inspect-source` does.\n\n## Follow evidence, not names\n\n- Copy returned declaration IDs. Do not synthesize overload\u002Fgeneric IDs.\n  In PowerShell, single-quote IDs containing backticks or pass emitted IDs as\n  variables. Renames and signature changes can change IDs.\n- `find --name` matches the exact ordinal, case-sensitive simple name; it is\n  not prefix, substring, wildcard or regex search. A miss for a name fragment\n  does not establish that the intended declaration is absent. If the name is\n  unknown, use `resolve` at a known declaration position or inspect the scoped\n  source inventory, then reuse the emitted ID.\n- `find` returns candidates, not an automatic choice. `resolve` identifies a\n  containing declaration, not the symbol referenced at the cursor. Positions\n  are physical one-based lines and UTF-16 columns; multiple sources require\n  `--file`. Do not use nearest-line guesses to clear ambiguity.\n- Follow emitted call targets with `show`\u002F`describe` when a selected source body\n  exists. `references`\u002F`callers` can also target metadata IDs but still search\n  only selected source; they do not scan framework bodies.\n- When already inspecting model\u002FC# pairs, avoid a second lookup for every helper:\n  use `links inspect --section calls --callee-source true --callee-limit 5\n  --callee-max-lines 80` with that inspection's explicit context. Review\n  page-local callee references, dispatch and omitted\u002Ftruncated status first.\n  Expand only a justified next source member with `symbols describe`.\n  One-level callee excerpts are not recursive call\u002Feffect analysis and do not\n  authorize crossing a declared interface boundary.\n- Use [source inventory](..\u002F..\u002F..\u002FREFERENCE.md#current-c-source-inventory)\n  when the question needs member-wide access\u002Fawait\u002Fcleanup facts or CFG flow,\n  rather than replacing Roslyn analysis with regexes.\n\n## Interpret and report\n\nExit `0` means discovery\u002Fresolution succeeded, `1` means not found or an\nambiguous position, and `2` means invalid input or incomplete compiler context.\nA successfully resolved target with zero scoped references is not unused\nglobally. State the source selection, compiler context, IDs and unresolved\nquestions in the answer.\n\nCalls retain declared dispatch, not concrete interface\u002Fvirtual\u002Fdelegate or\nreflection behavior. Method groups, `nameof` and crefs are not call edges.\nImplicit accessors, disposal, awaiters and operator\u002Fruntime calls need separate\nreview. Nested-function sites are marked, not assumed executed. Follow effects\nbeyond selected sources when the claim needs them, while respecting explicit\ninterface contracts. Resolved IDs and structural facts do not prove call effects,\natomicity, concurrency correctness or source\u002Fmodel equivalence.\n",{"name":5,"description":7},"main","b9cc67ed16aeea9a40c0058c9e05c83a79392ce4",".github\u002Fskills\u002Ftlalink-source-navigation",0,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Ftlalink","https:\u002F\u002Fgithub.com\u002Fmicrosoft","https:\u002F\u002Fopensource.microsoft.com","Open source projects and samples from Microsoft","2026-11-03 21:06:05",{"source":8,"skillName":5,"commands":54,"prompt":64,"zipAvailable":65},[55,58,61],{"tool":56,"command":57},"npx","npx skills add microsoft\u002Ftlalink --skill tlalink-source-navigation",{"tool":59,"command":60},"bunx","bunx skills add microsoft\u002Ftlalink --skill tlalink-source-navigation",{"tool":62,"command":63},"pnpm","pnpm dlx skills add microsoft\u002Ftlalink --skill tlalink-source-navigation","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Ftlalink\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Ftlalink-source-navigation\u002FSKILL.md",true,[],[68,94],{"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":39},"01M6X0KWXZZ1T337HPFVCJTZ5S","tlalink-maintain-links","Create, update, check, remove or explicitly migrate TlaLink model-owned source links using Roslyn selectors and links list\u002Fcheck\u002Fset\u002Fremove\u002Fmigrate. Use when an agent must maintain binding\u002Fcapture metadata or repair attachment drift. Keeps edits separate from inspection, independent requirements, frozen evidence and human approvals.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Ftlalink\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Ftlalink-maintain-links\u002FSKILL.md",[],[75,76,77,33,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93],"tlalink maintain links","maintain","links","SET","create","migrate","model","when","check","list","remove","approvals","evidence","drift","human","repair","requirements","binding","update",{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":39},"01M6X0KPAJ9EEXQMYTE0WYZY36","tlalink-inspect-correspondence","Inspect TlaLink source\u002Fmodel correspondence with inline TLA+\u002FPlusCal, Dafny or P and resolved C#. Use for bindings, guards, captures, multi-step ownership\u002Fcleanup review, grouped member context, bounded callee source, unresolved attachments or targeted responses; filter and page links inspect rather than post-process large JSON. Read-only, not editing or proof approval.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Ftlalink\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Ftlalink-inspect-correspondence\u002FSKILL.md",[],[101,26,102,103,104,81,105,35,33,32,106,107,108,22,29,28,77,109,110,111],"tlalink inspect correspondence","TLA+","cleanup","attachments","page","filter","post","multi","for","inline","review"]