一键导入
social-media-publisher-contract
Implement a common social media publisher contract without breaking existing platform managers
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Implement a common social media publisher contract without breaking existing platform managers
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Authorization Code Flow for web applications using MSAL.NET confidential client to sign in users and access APIs on their behalf
Handle MSAL distributed token cache collisions and stale entries in ASP.NET Core applications
On-Behalf-Of (OBO) Flow for web APIs to call downstream APIs while preserving user identity in MSAL.NET
{what this skill teaches agents}
Review API DTO implementations for contract/domain separation, mapping patterns, and REST compliance
This skill should be used when the user asks to "build a feature", "fix a bug", "implement something", "start a dev cycle", types "/dev", or describes a software task that requires design, implementation, testing, and shipping. Orchestrates the full software development lifecycle from interrogation through shipping, with self-learning that improves over time.
| name | social-media-publisher-contract |
| description | Implement a common social media publisher contract without breaking existing platform managers |
| domain | api-design |
| confidence | high |
| source | earned |
| tools | [{"name":"powershell","description":"Build and test the JJGNet Broadcasting solution","when":"After updating shared publisher contracts or DI registrations"}] |
Use this pattern when multiple platform-specific managers need a common contract for routing or contract testing, but existing function handlers or callers still depend on platform-specific methods.
JosephGuadagno.Broadcasting.Domain\Interfaces so all manager projects can depend on it without introducing upward references.SocialMediaPublishRequest in JosephGuadagno.Broadcasting.Domain\Models to normalize shared inputs like text, links, images, access tokens, and hashtags.ISocialMediaPublisher so future code can resolve IEnumerable<ISocialMediaPublisher> while current code keeps using the existing interfaces.PublishAsync routing or guard path per platform manager.Functions\Program.cs and Functions.Tests\Startup.cs in sync whenever shared publisher registrations change.src\JosephGuadagno.Broadcasting.Domain\Interfaces\ISocialMediaPublisher.cssrc\JosephGuadagno.Broadcasting.Domain\Models\SocialMediaPublishRequest.cssrc\JosephGuadagno.Broadcasting.Functions\Program.cssrc\JosephGuadagno.Broadcasting.Managers.Twitter.Tests\TwitterManagerTests.cssrc\JosephGuadagno.Broadcasting.Managers.LinkedIn.Tests\LinkedInManagerUnitTests.csISocialMediaPublisher; map the shared registration back to the existing interface registration.