ck get-usings — Reference
Syntax
.claude/skills/ck/ck get-usings <file>
Output
Plain text, one directive per line in source order:
C#:
using System;
using System.Collections.Generic;
using Mews.Accounting.Core.Payments;
TypeScript:
import React from 'react';
import { useState, useEffect } from 'react';
import type { PaymentGateway } from '../types';
When to use
- Before adding a new
usingorimportto a file you plan to edit - To check if a namespace/package is already imported without reading the whole file
- Avoids a full
ck read-full-filejust to see the imports section
Notes
- No index required — always reads live from disk.
- For C#, captures both top-level and namespace-scoped using directives.