Replace C# static calls for time, files, or environment values with existing abstractions that tests can substitute. Update construction and affected tests within a defined scope, while preserving read counts, evaluation order, date-time semantics, and existing static callers.
- Migrating DateTime.UtcNow calls to TimeProvider
- Replacing File calls with an existing IFileSystem
- Replacing disk or environment access in unit tests with fakes
dotnet/skills☆ 5.7KUpdated Oct 20, 2026
Use when the user mentions TextKit review, text layout issues, Writing Tools integration, or UITextView/NSTextView code review.
The English summary is being prepared. Showing the original description.
CharlesWiltgen/Axiom☆ 1.2KUpdated Oct 19, 2026
当代码涉及 Excel/CSV/JSON/PDF 大文件导出、批量序列化、内存里构建大对象时触发。防止 OOM、临时文件残留、同步导出阻塞 HTTP 线程等内存安全陷阱。
The English summary is being prepared. Showing the original description.
doccker/cc-use-exp☆ 1.1KUpdated Aug 26, 2026
ALWAYS USE when asked to migrate, replace, or make testable existing C# static calls with a named wrapper or built-in abstraction: DateTime.UtcNow/Now or DateTimeOffset.UtcNow to TimeProvider/IClock, File.* to IFileSystem or an existing store such as ITextFileStore, and Environment.* to an existing reader such as IEnvironmentReader. Covers scoped files/projects, constructor injection, replacing temp-file or process-environment tests with fakes, "already registered" abstractions, and static classes whose callers/signatures must stay unchanged. Preserves DateTimeKind and call count. DO NOT USE for finding statics (detect-static-dependencies), choosing/designing a new wrapper (generate-testability-wrappers), behavior tests with no chosen seam (testability-obstacle), or test-framework migration.
The English summary is being prepared. Showing the original description.
managedcode/dotnet-skills☆ 490Updated Oct 17, 2026
UIKit iOS/iPadOS UI フレームワーク。 UIViewController, UINavigationController, UITabBarController, UISplitViewController, UIView, UILabel, UIButton, UITextField, UIScrollView, UIStackView, UITableView, UICollectionView, diffable data source, NSDiffableDataSourceSnapshot, UICollectionViewCompositionalLayout, Auto Layout, NSLayoutConstraint, NSLayoutAnchor, UILayoutGuide, intrinsicContentSize。 UIArrangementViewController, UISplitArrangement, UIOverlayArrangement, UIView.ReservedRegion, UIHingeInteraction, 縦軸バー, iPhone Duo adaptive layout (iOS 27.1+), scene-based life cycle 移行, UISceneAccessory。SwiftUI ArrangementView とは別 API。
The English summary is being prepared. Showing the original description.
Fandhe-AI/agent-reference-skills☆ 4Updated Oct 20, 2026