MuharremTozan/Agentic-Duel / .agent/skills/unity-assembly-management
unity-assembly-management
VerifiedManage project boundaries using Assembly Definitions (.asmdef) for faster compile times and modular architecture. Based on the patterns by Adam Myhre. Enforces responsibility-based organization and handles Runtime/Editor/Tests splits.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 1.2 KB |
| assets/code/AsmdefScaffolder.cs.txt | markdown | 1.7 KB |
| assets/code/AsmdefTemplate.json.txt | markdown | 610 B |
| assets/code/AsmdefValidator.cs.txt | markdown | 1023 B |
| references/guide.md | markdown | 2.1 KB |
assets/code/AsmdefValidator.cs.txt
View on GitHubusing UnityEditor;
using UnityEditorInternal;
using UnityEngine;
using System.Linq;
namespace UnityAssemblyManagement.Editor {
public static class AsmdefValidator {
[MenuItem("Tools/Ohm-Yura/Assembly/Validate Dependencies")]
public static void ValidateAssemblies () {
var allAsmdefs = AssetDatabase.FindAssets("t:AssemblyDefinitionAsset")
.Select(guid => AssetDatabase.GUIDToAssetPath(guid))
.ToList();
foreach ( var path in allAsmdefs ) {
var assembly = AssetDatabase.LoadAssetAtPath<AssemblyDefinitionAsset>(path);
// In a real implementation, we would parse JSON here to check for 'Editor' platforms
// for dependencies. For the skill asset, we provide the logic flow.
Debug.Log($"[Assembly] Status: Validating | Data: Path={path}");
}
Debug.Log("[Assembly] Status: Validation Finished | Data: Count=" + allAsmdefs.Count);
}
}
}
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the work | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation code | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |