<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: 郭帅</title>
    <description>The latest articles on DEV Community by 郭帅 (@_cc239b528a2a1b0a7240e6).</description>
    <link>https://dev.to/_cc239b528a2a1b0a7240e6</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4227708%2F51c23a77-43f5-487d-8543-213e8245a8f3.jpg</url>
      <title>DEV Community: 郭帅</title>
      <link>https://dev.to/_cc239b528a2a1b0a7240e6</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/_cc239b528a2a1b0a7240e6"/>
    <language>en</language>
    <item>
      <title>No test errors. All good?</title>
      <dc:creator>郭帅</dc:creator>
      <pubDate>Wed, 25 Nov 2026 23:48:43 +0000</pubDate>
      <link>https://dev.to/skillpi/no-test-errors-all-good-1d4a</link>
      <guid>https://dev.to/skillpi/no-test-errors-all-good-1d4a</guid>
      <description>&lt;p&gt;Edited November 26, 2026 · SKILL NOTES 012&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ffa3s8yehikv8gll6zccw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ffa3s8yehikv8gll6zccw.png" alt="Cover" width="800" height="1067"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;An agent finishes a change and says the tests are green. Ask what was collected, what actually ran, what was skipped, and which outcomes were expected to fail before treating that sentence as evidence.&lt;/p&gt;

&lt;p&gt;This is a documentation-based explanation, not a live project test. pytest is a Python testing framework, not a standalone agent skill. The review steps can become part of a skill acceptance workflow.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F30riylwyr83ule8krx82.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F30riylwyr83ule8krx82.png" alt="Collection" width="800" height="1067"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Check collection first.&lt;/strong&gt; Default pytest exit code 5 means no tests were collected. It is not an all-passed result. Record the actual command, working directory, selected paths and filters alongside the summary. A wrapper or plugin may change what the outer task reports, so inspect the actual test result.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F79dxk0wa0r2isg93753w.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F79dxk0wa0r2isg93753w.png" alt="Skipped" width="800" height="1067"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;List skipped tests separately.&lt;/strong&gt; Platform conditions and unavailable dependencies can justify a skip. A skipped check still supplies no passing evidence for that execution. Read its reason and explain which behavior remains unverified. Do not replace a required environment check with a skip just to obtain a green badge.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F5ysb6o4uecx4tas6tz4z.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F5ysb6o4uecx4tas6tz4z.png" alt="Expected outcomes" width="800" height="1067"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Separate XFAIL from XPASS.&lt;/strong&gt; XFAIL records an expected failure; it is not proof of a fix. XPASS means a test unexpectedly passed. Under the default non-strict behavior, these outcomes do not by themselves fail the suite. Setting strict=True for an xfail mark makes its XPASS fail the suite, prompting review of the expectation or fix. Check the installed version, project configuration and plugins before changing policy.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0z5ml722pa18pgew0afb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0z5ml722pa18pgew0afb.png" alt="Handoff" width="800" height="1067"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Ask the agent for a reviewable handoff:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Preserve the command, working directory, version and exit code. Report collected counts and the applicable passed, failed, skipped, xfailed and xpassed outcomes. Explain skipped and expected-failure reasons, and identify requirements without test coverage. Mark unexecuted checks as unverified. Do not change markers to hide failures.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The useful question is what the result establishes and what it leaves open. Passing existing tests does not guarantee complete requirements or correct production behavior. No dependencies were installed or project tests run for this article.&lt;/p&gt;

&lt;p&gt;Explore workflows in the &lt;a href="https://www.skillpi.com/" rel="noopener noreferrer"&gt;AI skills marketplace&lt;/a&gt;. Infinite Skills. Infinite Possibilities.&lt;/p&gt;

&lt;p&gt;AI-assisted writing and AI-generated conceptual illustrations. The images are not real terminal output or test receipts.&lt;/p&gt;

</description>
      <category>agents</category>
      <category>python</category>
      <category>softwaredevelopment</category>
      <category>testing</category>
    </item>
    <item>
      <title>Copyable PDF. Correctly read?</title>
      <dc:creator>郭帅</dc:creator>
      <pubDate>Mon, 23 Nov 2026 22:48:52 +0000</pubDate>
      <link>https://dev.to/skillpi/copyable-pdf-correctly-read-58fj</link>
      <guid>https://dev.to/skillpi/copyable-pdf-correctly-read-58fj</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ftvv4asb3jdvcok1lsnlh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ftvv4asb3jdvcok1lsnlh.png" alt="Copyable PDF. Correctly read?" width="800" height="1067"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Extracting text from a PDF does not prove the content follows the right reading order or that each value is correct. Here are three checks based on the official pypdf documentation. pypdf is a Python library that can be used in an agent workflow.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Check reading order
&lt;/h2&gt;

&lt;p&gt;Compare a sample page containing columns, footnotes, or a table with the extracted text. Verify that headings lead into the intended column and that values still match their original rows and columns. pypdf's layout mode can help preserve parts of the layout.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Identify the page type
&lt;/h2&gt;

&lt;p&gt;Digitally generated PDFs, image-only scans, and scans with OCR text layers need different treatment. pypdf does not perform OCR. If little text comes out, inspect the page before deciding it has no content.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Verify critical fields
&lt;/h2&gt;

&lt;p&gt;An invisible OCR layer can produce copyable text with recognition errors. Check amounts, dates, units, and identifiers against the original page. Keep page numbers and mark unreadable values for review.&lt;/p&gt;

&lt;p&gt;Ask the agent to inspect without changing the PDF, classify pages, flag uncertain reading order, and list missing or conflicting fields. This article is a documentation review. No library was executed and extraction accuracy was not measured.&lt;/p&gt;

&lt;p&gt;Explore workflows at the &lt;a href="https://skillpi.com/" rel="noopener noreferrer"&gt;Skillπ AI skills marketplace&lt;/a&gt; and check their inputs, dependencies, and output limits.&lt;/p&gt;

&lt;p&gt;Sources: &lt;a href="https://github.com/py-pdf/pypdf/blob/main/docs/user/extract-text.md" rel="noopener noreferrer"&gt;pypdf text extraction documentation&lt;/a&gt; and &lt;a href="https://github.com/py-pdf/pypdf/blob/main/LICENSE" rel="noopener noreferrer"&gt;BSD-3-Clause license&lt;/a&gt;. Independent editorial summary.&lt;/p&gt;

&lt;p&gt;AI disclosure: AI was used in producing this article and generating the conceptual illustrations. Any illustrated invoice is fictional.&lt;/p&gt;

</description>
      <category>automation</category>
      <category>python</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>TypeScript says it is a string. Why did the lookup return undefined?</title>
      <dc:creator>郭帅</dc:creator>
      <pubDate>Mon, 23 Nov 2026 02:47:24 +0000</pubDate>
      <link>https://dev.to/skillpi/typescript-says-it-is-a-string-why-did-the-lookup-return-undefined-2o73</link>
      <guid>https://dev.to/skillpi/typescript-says-it-is-a-string-why-did-the-lookup-return-undefined-2o73</guid>
      <description>&lt;p&gt;Imagine a dashboard that reads a label from a map using a key supplied at runtime. The map is typed as &lt;code&gt;Record&amp;lt;string, string&amp;gt;&lt;/code&gt;, so &lt;code&gt;labels[key]&lt;/code&gt; can look like a safe string even when the key is missing. JavaScript returns &lt;code&gt;undefined&lt;/code&gt; for an absent key. Calling &lt;code&gt;.trim()&lt;/code&gt; on that result will throw.&lt;/p&gt;

&lt;h2&gt;
  
  
  Make the missing case visible
&lt;/h2&gt;

&lt;p&gt;With &lt;code&gt;strictNullChecks&lt;/code&gt; enabled, turn on &lt;a href="https://www.typescriptlang.org/tsconfig/#noUncheckedIndexedAccess" rel="noopener noreferrer"&gt;&lt;code&gt;noUncheckedIndexedAccess&lt;/code&gt;&lt;/a&gt; in &lt;code&gt;tsconfig.json&lt;/code&gt;. A lookup through the index signature now has type &lt;code&gt;string | undefined&lt;/code&gt;, so the compiler asks you to handle absence before treating the result as a string.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;labels&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nc"&gt;Record&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="kt"&gt;string&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kt"&gt;string&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;home&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Home"&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;getLabel&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;key&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;string&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;string&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;label&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;labels&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;key&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;label&lt;/span&gt;&lt;span class="o"&gt;?&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;trim&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;??&lt;/span&gt; &lt;span class="s2"&gt;"Unknown page"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A display label can safely use a fallback. For required settings, return a clear validation error instead. Test an existing key, a missing key, and an explicitly empty string. The example keeps the empty string because &lt;code&gt;??&lt;/code&gt; only substitutes for &lt;code&gt;null&lt;/code&gt; or &lt;code&gt;undefined&lt;/code&gt;. If blank labels are invalid, add a separate check.&lt;/p&gt;

&lt;p&gt;Find more developer workflows in the &lt;a href="https://skillpi.com/" rel="noopener noreferrer"&gt;Skillπ AI skill marketplace&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>programming</category>
      <category>typescript</category>
    </item>
    <item>
      <title>The API returned 200. Why did the frontend still crash?</title>
      <dc:creator>郭帅</dc:creator>
      <pubDate>Sun, 22 Nov 2026 21:40:10 +0000</pubDate>
      <link>https://dev.to/skillpi/the-api-returned-200-why-did-the-frontend-still-crash-23kh</link>
      <guid>https://dev.to/skillpi/the-api-returned-200-why-did-the-frontend-still-crash-23kh</guid>
      <description>&lt;p&gt;HTTP 200 tells you the server returned a successful status. It says nothing about whether the JSON matches what your UI expects. A numeric field can become a string, go missing, or turn into null. Validate the payload where it enters your application.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;z&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="s2"&gt;"zod"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nc"&gt;Profile&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;z&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="kt"&gt;object&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;z&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="kt"&gt;string&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;score&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;z&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="kt"&gt;number&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;payload&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;unknown&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="n"&gt;response&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;json&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;result&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;Profile&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;safeParse&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;payload&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="n"&gt;result&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;success&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nf"&gt;renderError&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"Unexpected profile data. Please try again later."&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="k"&gt;return&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="nf"&gt;renderProfile&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;result&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;data&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Try a valid profile with score 42, a profile with score "42", and one without a score. Only the first should render. Test malformed JSON separately: response.json() can throw before schema validation runs.&lt;/p&gt;

&lt;p&gt;To find &lt;a href="https://skillpi.com/" rel="noopener noreferrer"&gt;AI skills&lt;/a&gt; for reviewing edge cases, browse Skillπ by task and check what each tool supports.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://juejin.cn/post/7710790522994049066" rel="noopener noreferrer"&gt;Chinese original on Juejin&lt;/a&gt;&lt;/p&gt;

</description>
      <category>api</category>
      <category>debugging</category>
      <category>frontend</category>
      <category>typescript</category>
    </item>
    <item>
      <title>Missing configuration, but the application still allows access?</title>
      <dc:creator>郭帅</dc:creator>
      <pubDate>Sun, 22 Nov 2026 18:57:17 +0000</pubDate>
      <link>https://dev.to/skillpi/missing-configuration-but-the-application-still-allows-access-450</link>
      <guid>https://dev.to/skillpi/missing-configuration-but-the-application-still-allows-access-450</guid>
      <description>&lt;p&gt;&lt;em&gt;AI disclosure: AI-generated editorial adaptation and concept illustrations. This is a source review. We did not run the plugin.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fe6107acx8kdobma10r44.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fe6107acx8kdobma10r44.png" alt="Missing configuration and a permissive fallback" width="800" height="1067"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;A default can simplify setup. When it controls authentication, access, or secrets, the application may start successfully while using a value that was intended only for development. Trail of Bits’ insecure-defaults plugin documents a review sequence: collect candidates, trace the behavior, then try to refute the finding.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Faab0lhmhww7pfvtsvz7r.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Faab0lhmhww7pfvtsvz7r.png" alt="Find the fallback used when a setting is absent" width="800" height="1067"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Identify what runs when configuration is absent
&lt;/h2&gt;

&lt;p&gt;Review the configuration parser and record the fallback. Missing values, empty strings and explicit booleans can take different paths. Check which defaults apply to the production configuration.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F32ob0bxzu27cyvc8t55p.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F32ob0bxzu27cyvc8t55p.png" alt="Trace a fallback to the security decision" width="800" height="1067"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Trace what the fallback controls
&lt;/h2&gt;

&lt;p&gt;Record the configuration read, the condition selecting the fallback, and the code that consumes it. Check whether the value reaches a security decision in production. A string search alone does not establish that the branch runs.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fqa294ro236z7qza4ka7b.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fqa294ro236z7qza4ka7b.png" alt="Look for evidence that can refute the finding" width="800" height="1067"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Look for evidence that would change the finding
&lt;/h2&gt;

&lt;p&gt;An upstream validation step may reject the configuration. A required setting can make startup fail. A production manifest can supply the variable, but that only describes the deployment covered by that manifest. Record any verification gaps.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fadtmr8bg0i5370th2i91.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fadtmr8bg0i5370th2i91.png" alt="Three questions for a configuration review" width="800" height="1067"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;For a maintenance review, document each candidate with file locations, production scope and counterevidence. Keep configuration-dependent fallbacks separate from unconditional behavior. We reviewed the upstream documentation and did not install or run the plugin.&lt;/p&gt;

&lt;p&gt;Explore the &lt;a href="https://skillpi.com/" rel="noopener noreferrer"&gt;AI skills marketplace&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Infinite Skills. Infinite Possibilities.&lt;/p&gt;

&lt;p&gt;Source: &lt;a href="https://github.com/trailofbits/skills/blob/main/plugins/insecure-defaults/README.md" rel="noopener noreferrer"&gt;Trail of Bits’ insecure-defaults documentation&lt;/a&gt;. Skillπ simplified and adapted the technical explanation and image text, with attribution to Trail of Bits under &lt;a href="https://creativecommons.org/licenses/by-sa/4.0/" rel="noopener noreferrer"&gt;CC BY-SA 4.0&lt;/a&gt;. &lt;a href="https://github.com/trailofbits/skills/blob/main/LICENSE" rel="noopener noreferrer"&gt;Repository license&lt;/a&gt;. Upstream material comes without warranty. No endorsement is implied. Skillπ brand assets are reserved.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Can jq tell a missing JSON key from an explicit null?</title>
      <dc:creator>郭帅</dc:creator>
      <pubDate>Sun, 22 Nov 2026 01:21:57 +0000</pubDate>
      <link>https://dev.to/skillpi/can-jq-tell-a-missing-json-key-from-an-explicit-null-148h</link>
      <guid>https://dev.to/skillpi/can-jq-tell-a-missing-json-key-from-an-explicit-null-148h</guid>
      <description>&lt;h2&gt;
  
  
  A missing key and an explicit null can carry different meanings
&lt;/h2&gt;

&lt;p&gt;Suppose an incoming update contains &lt;code&gt;{"nickname":null}&lt;/code&gt;. In a patch workflow, it might mean “clear the nickname.” An update of &lt;code&gt;{}&lt;/code&gt; might mean “leave it alone.” If you read &lt;code&gt;.nickname&lt;/code&gt; alone in jq, both inputs produce &lt;code&gt;null&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Use &lt;code&gt;has("nickname")&lt;/code&gt; to test whether the key exists before reading its value. Try the filter below with &lt;code&gt;{}&lt;/code&gt;, &lt;code&gt;{"nickname":null}&lt;/code&gt;, and &lt;code&gt;{"nickname":"Sam"}&lt;/code&gt;. It returns a different state for each fixture.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;if has("nickname") | not then "missing"
elif .nickname == null then "explicit_null"
else "present"
end
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Apply this filter to objects. If your input can also contain arrays or scalar values, validate its type before running the filter. Decide what each state means in your application before assigning defaults or writing an update.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://jqlang.org/manual/" rel="noopener noreferrer"&gt;jq manual&lt;/a&gt; · &lt;a href="https://skillpi.com/" rel="noopener noreferrer"&gt;Skillπ AI skills marketplace&lt;/a&gt;&lt;/p&gt;

</description>
      <category>coding</category>
      <category>json</category>
      <category>programming</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Did your document survive the move to Markdown? Three checks after MarkItDown</title>
      <dc:creator>郭帅</dc:creator>
      <pubDate>Sun, 22 Nov 2026 01:21:02 +0000</pubDate>
      <link>https://dev.to/skillpi/did-your-document-survive-the-move-to-markdown-three-checks-after-markitdown-4eo8</link>
      <guid>https://dev.to/skillpi/did-your-document-survive-the-move-to-markdown-three-checks-after-markitdown-4eo8</guid>
      <description>&lt;h2&gt;
  
  
  A successful conversion can still lose information
&lt;/h2&gt;

&lt;p&gt;MarkItDown turns documents into Markdown for downstream tools. A readable result is useful, but it is worth checking whether the text still carries the facts your agent needs.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Start with a small fixture. Put a unique sentence in the final section, then check that it appears in the output.&lt;/li&gt;
&lt;li&gt;Include a small table with an empty cell. Compare the rendered Markdown with the source and make sure each value still belongs to the correct column.&lt;/li&gt;
&lt;li&gt;Include a link whose label differs from its destination. Confirm that both survive and that the output still points to the intended page.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Keep the original file alongside the converted version. If a check fails, send that section for review before letting the agent summarize it.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/microsoft/markitdown" rel="noopener noreferrer"&gt;MarkItDown source&lt;/a&gt; · &lt;a href="https://skillpi.com/" rel="noopener noreferrer"&gt;Skillπ AI skills marketplace&lt;/a&gt;&lt;/p&gt;

</description>
      <category>agents</category>
      <category>ai</category>
      <category>llm</category>
      <category>tools</category>
    </item>
    <item>
      <title>What should an agent check before analyzing a spreadsheet?</title>
      <dc:creator>郭帅</dc:creator>
      <pubDate>Sun, 22 Nov 2026 00:14:38 +0000</pubDate>
      <link>https://dev.to/skillpi/what-should-an-agent-check-before-analyzing-a-spreadsheet-8ak</link>
      <guid>https://dev.to/skillpi/what-should-an-agent-check-before-analyzing-a-spreadsheet-8ak</guid>
      <description>&lt;p&gt;A spreadsheet can look ready and still contain blank cells, duplicate rows, or inconsistent formats. The open-source Data Quality Skill documents a read-only screening workflow you can run before asking an agent for conclusions.&lt;/p&gt;

&lt;h2&gt;
  
  
  Define the scope
&lt;/h2&gt;

&lt;p&gt;Record the file, sheet, and range you checked. If you inspected one tab, keep your conclusions within that tab.&lt;/p&gt;

&lt;h2&gt;
  
  
  Confirm the rules
&lt;/h2&gt;

&lt;p&gt;A column that usually has a value does not automatically require one. Separate confirmed business rules from candidate rules inferred from the data, then check missing values, duplicates, and formats.&lt;/p&gt;

&lt;h2&gt;
  
  
  Name what the check missed
&lt;/h2&gt;

&lt;p&gt;A passing result does not establish that the data is accurate or current. Keep the original file and list the checks you skipped. For XLSX, the script does not recalculate formulas, so cached values may be stale.&lt;/p&gt;

&lt;p&gt;Try asking your agent for a read-only review that starts with scope, asks you to confirm candidate rules, and ends with results and unchecked items.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/aalomair/agent-data-quality-skill" rel="noopener noreferrer"&gt;Data Quality Skill source and MIT license&lt;/a&gt; · &lt;a href="https://skillpi.com/" rel="noopener noreferrer"&gt;Skillπ AI skill marketplace&lt;/a&gt;&lt;/p&gt;

</description>
      <category>agents</category>
      <category>data</category>
      <category>opensource</category>
    </item>
    <item>
      <title>Can your agent tell a missing file from an empty report?</title>
      <dc:creator>郭帅</dc:creator>
      <pubDate>Sat, 14 Nov 2026 21:46:27 +0000</pubDate>
      <link>https://dev.to/skillpi/can-your-agent-tell-a-missing-file-from-an-empty-report-d7n</link>
      <guid>https://dev.to/skillpi/can-your-agent-tell-a-missing-file-from-an-empty-report-d7n</guid>
      <description>&lt;p&gt;Run three fixtures through the workflow: an absent file, a valid header-only CSV, and a CSV with one valid row. Assert three distinct outcomes: missing input, zero records, and one processed record. Only the valid empty run should produce a successful zero-row report.&lt;/p&gt;

&lt;p&gt;Explore the &lt;a href="https://skillpi.com/" rel="noopener noreferrer"&gt;AI skill marketplace&lt;/a&gt;.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Can you run the same CSV import twice without adding rows?</title>
      <dc:creator>郭帅</dc:creator>
      <pubDate>Sat, 14 Nov 2026 21:45:12 +0000</pubDate>
      <link>https://dev.to/skillpi/can-you-run-the-same-csv-import-twice-without-adding-rows-2bk5</link>
      <guid>https://dev.to/skillpi/can-you-run-the-same-csv-import-twice-without-adding-rows-2bk5</guid>
      <description>&lt;p&gt;Give the importer three rows with two stable IDs. Run it twice against the same destination. The second run should add zero rows. Then change one field without changing the ID and check that the existing row is updated. Log the ID and outcome so a retry can be audited.&lt;/p&gt;

&lt;p&gt;Explore the &lt;a href="https://skillpi.com/" rel="noopener noreferrer"&gt;AI skill marketplace&lt;/a&gt;.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Can an agent explain which release date it chose?</title>
      <dc:creator>郭帅</dc:creator>
      <pubDate>Sat, 14 Nov 2026 21:44:53 +0000</pubDate>
      <link>https://dev.to/skillpi/can-an-agent-explain-which-release-date-it-chose-5b43</link>
      <guid>https://dev.to/skillpi/can-an-agent-explain-which-release-date-it-chose-5b43</guid>
      <description>&lt;p&gt;Two release notes in a test fixture disagree: November 18 versus November 20. Save both source references and their timestamps in the output. Treat the date as unresolved if neither source has explicit authority. Then swap the order of the inputs and check that the decision stays the same.&lt;/p&gt;

&lt;p&gt;Explore the &lt;a href="https://skillpi.com/" rel="noopener noreferrer"&gt;AI skill marketplace&lt;/a&gt;.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Where an agent skill should stop for human approval</title>
      <dc:creator>郭帅</dc:creator>
      <pubDate>Fri, 13 Nov 2026 18:54:11 +0000</pubDate>
      <link>https://dev.to/skillpi/where-an-agent-skill-should-stop-for-human-approval-445d</link>
      <guid>https://dev.to/skillpi/where-an-agent-skill-should-stop-for-human-approval-445d</guid>
      <description>&lt;p&gt;An agent can prepare a change without being allowed to apply it. The useful question is where a reviewer should take over.&lt;/p&gt;

&lt;p&gt;Consider a skill that drafts a release note. Let it read the changelog and write a draft in a scratch folder. Before it publishes to a public channel, have it show the exact text and destination for approval. If either changes after approval, stop and show the new version.&lt;/p&gt;

&lt;p&gt;Test the boundary with two dry runs: one that only creates a draft, and one that tries to publish without approval. The first should complete; the second should leave the public channel untouched and explain what it needs. Check the destination directly before retrying any publish with an unknown result.&lt;/p&gt;

&lt;p&gt;Explore the &lt;a href="https://skillpi.com/" rel="noopener noreferrer"&gt;Skillπ AI skill marketplace&lt;/a&gt; for skills to evaluate with this approach.&lt;/p&gt;

&lt;p&gt;AI disclosure: This article was drafted with AI.&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
