一键导入
function-config-warning-once
Warn once per function run when optional URL configuration is missing, while keeping a safe fallback path.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Warn once per function run when optional URL configuration is missing, while keeping a safe fallback path.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | function-config-warning-once |
| description | Warn once per function run when optional URL configuration is missing, while keeping a safe fallback path. |
| domain | error-handling |
| confidence | high |
| source | earned from issue #893 / PR #910 |
| tools | null |
Use this pattern when a Function depends on optional configuration to build links or other operator-visible output, but can still proceed in a degraded mode.
null, empty, and whitespace-only values as missing configuration.src\JosephGuadagno.Broadcasting.Functions\LinkedIn\NotifyExpiringTokens.cs
GetWebBaseUrl() trims the configured URL, warns once when missing, and
returns string.EmptyRunAsync() resolves the value once and passes it into both notification
windowssrc\JosephGuadagno.Broadcasting.Functions.Tests\LinkedIn\NotifyExpiringTokensTests.cs
RunAsync_WhenWebBaseUrlIsMissingOrEmpty_LogsWarningAndUsesRelativeLink(...)
proves the warning is emitted for null/empty/whitespace settings while
preserving the relative-link fallbackAuthorization 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.