> Fetch clean Markdown by appending `.md` to any page URL under https://signalwire.com/docs or requesting it with the HTTP header `Accept: text/markdown`. The root index at https://signalwire.com/docs/llms.txt lists the available documentation indexes. # resetInstance > Reset the global SkillRegistry singleton (test helper). [ref-getinstance]: /docs/server-sdks/reference/typescript/agents/skill-registry/get-instance Static helper that clears the process-wide `SkillRegistry` singleton. The next call to [`getInstance()`][ref-getinstance] constructs a fresh registry with no registered skills, cleared search paths, and no locked names. > **Warning** > > Intended for use in test suites that need a clean registry per test case. > Calling this in production is almost always a bug -- every previously > registered skill is forgotten, and any code still holding the old instance > reference will diverge from the new one. ## **Returns** `void` ## **Example** ```typescript {10} import { SkillRegistry } from '@signalwire/sdk'; describe('MySkill', () => { beforeEach(() => { SkillRegistry.resetInstance(); const registry = SkillRegistry.getInstance(); registry.register(MySkill); }); afterAll(() => { SkillRegistry.resetInstance(); }); it('registers correctly', () => { expect(SkillRegistry.getInstance().has('my-skill')).toBe(true); }); }); ``` > Reset the global SkillRegistry singleton (test helper).